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 64370

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 35156

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

Fusion Systems GmbH,

6 33890

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

Microsoft,

10 39660

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 11365

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 43297

program to Reverse a linked list

Aricent, Microsoft, Ness Technologies,

12 73421

write a program to Insert in a sorted list

Microsoft,

4 15220

Program to Delete an element from a doubly linked list.

College School Exams Tests, Infosys,

4 46181

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

Adobe, Amazon, EFI, Imagination Technologies,

13 102695

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

Microsoft,

3 17902

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 39583

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 27011

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

2 33678

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 259536


Un-Answered Questions { Code Snippets }

Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.

834


code to detect availability of cookies

2133


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

4348


What is xml schema?

531


Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3).

3588


develop a program to calculate and print body mass index for 200 employees

2626


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

950


How to swap two ASCII numbers?

2975


create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report

2479


Code for Document Validation in XML.NET?

2330


Beautiful is for 012345678 9 and a code for similar word containing the same alphabets

6200


Who is responsible for XML?

556


Reading which Non-Character Key was pressed

2159


create Drop-Down Navigation Menus

2113


program to show a progress bar

2567