Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Code Snippets Interview Questions
Questions Answers Views Company eMail

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.

ABC, eBay, Goldman Sachs, Google, HUP, Microsoft, TATA,

21 65225

Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.

Mentor Graphics, Microsoft,

2 35310

Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.

Fusion Systems GmbH,

6 34164

Give a one-line C expression to test whether a number is a power of 2.

Microsoft,

10 40106

Given 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.

Wipro,

2 11497

Give 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)

Microsoft,

7 43621

program to Reverse a linked list

Aricent, Microsoft, Ness Technologies,

12 73972

write a program to Insert in a sorted list

Microsoft,

4 15419

Program to Delete an element from a doubly linked list.

College School Exams Tests, Infosys,

4 46407

Write a function to find the depth of a binary tree.

Adobe, Amazon, EFI, Imagination Technologies,

13 103177

Write a routine that prints out a 2-D array in spiral order

Microsoft,

3 18064

Write, 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).

Intel, Microsoft, TCS,

13 40105

Given 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)

Disney, Google, ZS Associates,

3 27166

Print an integer using only putchar. Try doing it without using extra storage.

2 33866

How 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


Un-Answered Questions { Code Snippets }

What is the code of Password Recovery or Forget your password? Plz tell in c # language.

3988


What is CDATA?

626


Can I replace HTML with XML?

588


How to get one hasmap value in another hashmap ,only value not key

1499


How to Link Different Data Sources Together?

2313


Pls provide basic funtionality Winrunner scripts for Health care domain and Phishing

1150


code to detect availability of cookies

2190


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); } }

2422


Can someone please explain more about how the XML Gateway works and what its purpose is?

2328


Write a python program to check if a number is a prime number?

838


write a program for area of circumference of shapes

2582


how to take time as input in the format (12:02:13) from user so that controls remains between these columns?

2279


What is the functionality of EnumWindows?

556


how to create a Custom Scrollbar

2545


What are XML Namespaces?

591