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 65283Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 35315Give 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 43639Write, 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 40155Write 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 22915Write 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 15423Given 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 22594Post New Microsoft C Code Interview Questions
Is objective c hard?
Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?
What are time & material contracts?
How do I write my style sheet so that it gracefully cascades with user's personal sheet ?
Why did they skip angular 3?
how to set an out of office message?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How can withwin runner to make single scripts which supports multiple languages?
How are input and output taxes taken care of in sap?
What are teradata utilities?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What kind of job profile you are looking for?
What are the new features included in the new version of SAS Programming Language?
What is css and how does it work?
Can xp be upgraded to windows 10?