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 49912Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 22407Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.
6 20976Given 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.
2 10931Give 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 30193Write, 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 38062Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)
3 14280How to swap two variables, without using third variable ?
AB, ADP, BirlaSoft, Cisco, Cygnet Infotech, HCL, Hewitt, Honeywell, HP, IBM, Infosys, Manhattan, Microsoft, Mobius, Percept, Satyam, SofTMware, TCS, Wipro, Yamaha,
104 237885
Code for Communicating over Sockets?
write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation
iam getting keyword or delimiter error while executing ICETOOL,provide me solution.
Write a python program to print table of a given number?
could you please teach me how to program an income tax using functions
Why XML has been used for development?
how to pass data between pages using Cookies
how to diplay a external image of output on winxp by using c & c++,
how to manage mlng timer because they don't explain what's it's function?
write a program using virtual function to find the transposing of a square matrix?
how to take time as input in the format (12:02:13) from user so that controls remains between these columns?
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??
solve the problem in the programming language C++"if a five digit number is input through the keyboard.Write a program to calculate the sum of its digits(hint: use the modulus operator)
How to check if Folder is a Special Shell Folder ?
What is the functionality of GetWindowText?