GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Adobe  >  Placement Papers
Go To First  |  Previous Question  |  Next Question 
 Placement Papers  |  Question 6 of 10    Print  
rotate an array using reverse fn....

Ans....use reverse 3 times

  
Total Answers and Comments: 2 Last Update: October 07, 2006     Asked by: x 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 07, 2006 11:46:02   #1  
micky        

RE: rotate an array using reverse fn....An...
do you remember any other program ??? or any question from analytical ?
 
Is this answer useful? Yes | No
October 07, 2006 13:41:34   #2  
hari        

RE: rotate an array using reverse fn....An...
this works by double reversal principle to rotate an array by 3 postions ... first reverse the first 3 elements from the list and then reverse the remaining elements from the list in place and then reverse the entire array the result is that we have an array that is rotated by 3 postions
 
Is this answer useful? Yes | No

 Related Questions

1. find the nth node from end in a linked list in single parse2. wap to check if the tree is BST3. prove A+BC =(A+B)(A+C)4. (A023AC5B)-(129B5321) to the base 135. prove that no of leaf nodes in any binaryy tree is one more than the no of nodes with degree 26. write a prog in assembly lang 2 calculate sum of first n natural nos7. print values in an array with recurring diditseg a[10]={3,2,5,4,3,4,6,12,4,12,6}the prog shud print {3,3,5,4,4,6,6,12,12}chk the sequence8. write prefix and postfix notation9.
Read Answers (6) | Asked by : Sumit

HI Everybody, I attended Adobe test on 16-07-2006. it was cool test. The test was 3 hours. I am sending u Questions Asked on Engineering and C. Merit-Trac conducted the test. The test was for both Developmnt & testing Domain. I attended for Dev posn. ADOBE Written Test1) Wap to reverse a linked list and sort the same.2) Given two integers A & B. Determine how many bits required to convert A to B. Write a function int BitSwapReqd(int A, int B);3) Write an algorithm to insert a node into
Read Answers (11) | Asked by : Guru Pradeep

Latest Answer : this works by double reversal principle to rotate an array by 3 postions ... first reverse the first 3 elements from the list and then reverse the remaining elements from the list in place and then reverse the entire array the result is that we have an ...
Read Answers (2) | Asked by : x

Test has been made simple than before.Few easy questions on output of programs.1. int arr[10]; //in file1.cextern int *arr; //in file2.cmain(){ arr[0]=1;}//Find Error? how and why2.Hash 
View Question | Asked by : pardeepg


 Sponsored Links

 
Related Articles

JavaScript Array Operations

JavaScript Array Operations In this JavaScript tutorial you will learn about different operations with array in JavaScript how to use the for in statement Combining Operations between arrays and within elements of an array joining two or more arrays and joining elements of an arrays along with synta
 

JavaScript Array Object Methods – Part II

JavaScript Array Object Methods Part II In this JavaScript tutorial you will learn about on array object methods slice splice toString shift and unshift methods along with general syntax and examples mosgoogle center slice By using the methods of the array object the programmer is able to retriev
 

JavaScript Array Object Methods – Part I

JavaScript Array Object Methods Part I In this JavaScript tutorial you will learn about Array Object Methods concat join pop push and reverse methods  along with general syntax and examples mosgoogle center concat The concat method is used to join two or more Array objects together to pro
 

JavaScript Array Object

JavaScript Array Object In this JavaScript tutorial you will learn about JavaScript Array Object its properties and methods mosgoogle center Usage of the Array Object The Array object is used to store a set of values in a single variable name There are many operations involved with Array object De
 

Reverse Chronological vs. Functional Resumes

by ResumeEdge com The Net s Premier Resume Writing and Editing Service In modern resumes information about skills and experience can be listed using three distinct formats Reverse chronological Functional A combination of the two mosgoogle Reverse chronological Generally speaking hiring manager
 

Job Interview During Competitive Times

These days more number of people are competing for jobs that may be much less in number and in kind.  Many companies have closed down and those that have remained in operation may be looking for replacements for the people they have retrenched as part of a downsizing strategy instead of co
 

Reverse Chronological vs. Functional Resumes

by ResumeEdge.com - The Net s Premier Resume Writing and Editing Service In modern resumes information about skills and experience can be listed using three distinct formats Reverse chronological Functional A combination of the two mosgoogle Reverse chronological Generally speaking hiring manage
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape