Programming Code (840)
Scripts_Markup Code (257) 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 64375Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 35156Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.
6 33890Given 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 11365Give 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 43297Write, 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 39583Given 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 27011How 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 259543
Discuss an algorithm to traverse a tree, depth first.
How can export database using php code?
create Drop-Down Navigation Menus
how to use the GetTickCount() properly and what is that procedure for?
can everyone explain this code Private Sub DrawRect(rectSource As RECT, lngColour As Long) Line (rectSource.Left, rectSource.Top)-(rectSource.Left, rectSource.Bottom), lngColour Line (rectSource.Left, rectSource.Top)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Left, rectSource.Bottom), lngColour End Sub
Write a routine to implement the polymarker function
plz send code for Ecorps in j2ee frontend:J2EE Backend: DB2 Express
How to add flash or *.gif file in edit panel in java?
1.What happens to a session object when the browser associated with it is closed? 2. Explain what happens when a servlet is sent a POST request? 3. Why does only one copy of a servlet get created? 4. Explain what happens when a browser requests a servlet? (for the first time) 5.How is information stored in a session object?
code to detect availability of cookies
create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report
How can restrict user to type upto 8 characters in textbox in php?
code to sorting an array of objects
i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.