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 65901Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 35448Give 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 43911Write, 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 40544Write 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 23056Write 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 15588Given 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 22830Post New Microsoft C Code Interview Questions
How many bits is a 64 bit byte?
Why is csrf important?
How to change the default font in ms word?
Who created windows?
Do you know what facebook edgerank is? Why is it important?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
Where can I get CPWD electrical specifications & Shedule of rates? Please help me
Explain what is maven artifact?
How we can draw rectangle using svg in html5?
What are some of the features of office 365 development tools?
Why do we use distinct polarisation (UL-H:DL-V) while uplinking and downlinking rather than same (UL-H:DL-H)?
Is chrome os based on linux?
Is tapestry a jsp tag library?
Can sql and power query/query editor be used together?
Why doesnt long int work?