Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Programming Code Interview Questions

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.

40963

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

20387

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

16974

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

20395

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.

9087

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)

26557

program to Reverse a linked list

54139

write a program to Insert in a sorted list

12473

Program to Delete an element from a doubly linked list.

30907

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

82456

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

15595

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

31081

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)

12256

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

17475

How to swap two variables, without using third variable ?

206290

Un-Answered Questions { Programming Code }

What is full form of PEPSI

1534

How to palindrom string in c language?

7550

How can I Draw an ellipse in 3d space and color it by using graph3d?

1895

Code for IP Address Comparison and Conversion in C#?

3790

What is the functionality of GetWindowText?

521

write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

3842

Give me some tips in c#?

1967

Coding for Synchronizing Cache Access in ASP.NET?

2888

What is the functionality of FindWindow?

538

#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

761

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

1937

create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file

1991

Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly.

3121

write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation

2129