Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

what is web configuration file

0 Answers   HCL,


Given: coordinates of rectangle-> left bottom and right top points. the rectangles create a hole.Find the maximum area of the hole. eg. 4 rectangles create a hole in between. find its area.

0 Answers   Manhattan,


Question:Why is mapping required? Computer 'Paging' & 'Segmentation'. Question:Give the disadvantages of Havander's Strategies. Question: What do you mean by Belady's Anomaly. - Describe with example. Question: Discuss the various function of OS. Question: Give a brief discussion on schedulers & Dispatchers with respect to process management.

0 Answers  


How can successful and thorough systems planning, analysis, and design be ruined by poor systems construction and implementation? How can poor systems analysis or design ruin a smooth construction and implementation? For both questions, list some consequences

1 Answers  


how to add a new table with variables and thier values into a imported file uisng proc import?

0 Answers  






technical interview questions and process

0 Answers   Ariba,


How many ways we can fill a dataset in .Net

1 Answers   iGate,


Difference between HTML and DHTML?

0 Answers  


Compare any 4 software development life cycle paradigms with each other. Indicate at least one application for each of the paradigms that are suitable to developed using that paradigm.

0 Answers  


what is woransient key word? how it is used in java

0 Answers   Convergys,


sample code for data transfer between two r/2 systems and r/3 systems?

0 Answers  


What are the Short cut Keys of Tally ERP?

0 Answers  


Categories