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 65225Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 35310Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.
6 34164Given 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 11497Give 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 43621Write, 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 40105Given 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 27166How 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 262982
What is the code of Password Recovery or Forget your password? Plz tell in c # language.
What is CDATA?
Can I replace HTML with XML?
How to get one hasmap value in another hashmap ,only value not key
How to Link Different Data Sources Together?
Pls provide basic funtionality Winrunner scripts for Health care domain and Phishing
code to detect availability of cookies
Hello Sir, Thanks for the Solution but, can you pls. Explain the coding for the Static Function & static variable from the below coding....waiting for Ans. class fact { public static void Main() { fact f=new fact(); int x=1; //Declaration of x as 1 int k=Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=k;i++) { x= x *i; } System.Console.WriteLine(x); } }
Can someone please explain more about how the XML Gateway works and what its purpose is?
Write a python program to check if a number is a prime number?
write a program for area of circumference of shapes
how to take time as input in the format (12:02:13) from user so that controls remains between these columns?
What is the functionality of EnumWindows?
how to create a Custom Scrollbar
What are XML Namespaces?