ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
 Categories  >>  Code Snippets  >>  Programming Code       
 
  C Code (302)   C++ Code (52)   VC++ Code (1)   Java Code (13)   Dot Net Code (69)
  Visual Basic Code (3)   Programming Code AllOther (21)
 
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
Print an integer using only putchar. Try doing it without using extra storage.  1  2002
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   3  1842
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). Microsoft   10  2831
Write a routine that prints out a 2-D array in spiral order Microsoft  2  2454
Write a function to find the depth of a binary tree. Adobe   8  12131
Program to Delete an element from a doubly linked list. Infosys  4  4359
write a program to Insert in a sorted list Microsoft  4  2077
program to Reverse a linked list Ness-Technologies  4  5718
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   5  3681
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  1533
Give a one-line C expression to test whether a number is a power of 2. Microsoft  8  2831
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal.  5  2048
Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all. Microsoft   2  2838
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. Microsoft   15  3719
E-Mail New Answers        Answer Selected Questions       
 
Prev    1   ... 4   ... 7   ... 10   ... 13   ... 16   ... 19   ... 22   ... 25   ... 28    30   [31]  
 
 
 Programming Code interview questions   Programming Code Interview Questions  Scripts_Markup Code interview questions   Scripts_Markup Code Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange 337  
I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{ 121  
how to take time as input in the format (12:02:13) from user so that controls remains between these columns? 203  
Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector 508  
main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i; 48  
can u give me the c codings for converting a string into the hexa decimal form...... 201  
what full form name of B.K.U. 46  
A string of charaters were given. Find the highest occurance of a character and display that character. eg.: INPUT: AEGBCNAVNEETGUPTAEDAGPE OUTPUT: E 63  
Coding for .NET Delegates? 221  
Seat Reservation prog for the theatre. Write a function for seat allocation for the movie tickets. Total no of seats available are 200. 20 in each row. Each row is referred by the Character, "A" for the first row and 'J' for the last. And each seat in a row is represented by the no. 1-20. So seat in diffrent rows would be represented as A1,A2....;B1,B2.....;........J1,J2... Each cell in the table represent either 0 or 1. 0 rep would seat is available , 1 would represent seat is reserved. Booking should start from the last row (J) to the first row(A). At the max 20 seats can be booked at a time. if seats are available, then print all the seat nos like "B2" i.e (2 row, 3 col) otherwise Print "Seats are not available." and we must book consecutive seats only. 107  
. Remove all the blank spaces between character.Matrix is of 10* 10. eg: INPUT ------------------------------------ | N | A | | V | |T ------------------------------------- | |G | U | |P | -------------------------------------- |T | | | A | | ------------------------------------ OUTPUT: ------------------------------------ | N | A | V | T | | ------------------------------------- |G |U | P | | | -------------------------------------- |T | A | | | | ------------------------------------ 58  
How to get the version(major,minor,revision ) of VB6.0 delphi code .I am able to fetch dll file of vb6.0 but not vba file .Can u send me the code snippet in delphi to get the value for vb6.0. 363  
How to Split Strings with Regex in Managed C++ Applications? 265 Microsoft
Code for Communicating over Sockets? 237  
Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37 195 Nagarro
How to use Client-side Script to Focus Controls in ASP.NET? 186  
How we use ajax in asp.net through javaScript. Please givee me an example. 352  
Code for Presenting Parent/Child Data in a Data Grid Row? 340  
Display Pattern: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 … 92  
A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect 42  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com