Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like.
21 48733Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 22076Give a very good method to count the number of ones in a 32 bit number. (caution: looping through testing each bit is not a solution)
7 29693Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).
13 37239Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.
5 21781Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.
5 14172Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.
9 20990Post New Microsoft C Code Interview Questions
Can anyone convert a 5/2 way or 3/2 way valve into an ISO valve?
How would you control size of an element on resize of the window in a component?
How do I minor in political science?
Is angularjs mvvm or mvc?
We need to follow an order in items.xml, when we declare item types in items.xml. Why is this required?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
What is treemap chart?
can User access these kernel objects structures?
Pls send me the papers for Section engineer exam for railways.Its on 9th oct-08.Its urgent.My id is abhay_jg@yahoo.com
When we click outside of modal popup, it will close, how to resolve it?
The authorized capital of nabard in 2013 was raised up to what limit?
what is a traditional network library for sql servers? : Sql server database administration
What is ienumerable t in c#?
how many languages do you know?
How do I wipe my hard drive and reinstall windows?