Find the InOrder successor

3 0 652
answers votes views
Given a Node of a tree, find it's InOrder Successor. The node has a reference to it's Parent. ...
Tarz 1 2010-08-17 17:57:09

Two elements in Array ST |a+b| is smallest

5 0 488
answers votes views
An Array of integeres is given, both +ve and -ve. You need to find two elements st that there sum is closest to Zero. ...
Tarz 1 2010-08-16 22:34:32

best data structure for CPU scheduler

2 0 233
answers votes views
Hi, can any one tell me which data structure should be used for the CPU scheduler? ...
hema 1 2010-06-27 21:54:47

Trim a binary search tree

2 0 562
answers votes views
Given the head of a Binary Search tree, trim the tree, so that all elements in the new tree returned are between the inp...
Rajesh V 1 2010-05-19 23:11:29

Non circuit branches

0 0 255
answers votes views
I am not a frequent visitor of this site. But i like the concept. However i feel that fields like mechanical engineering...
Anand 1 2010-05-18 18:34:33

exchange elements of a matrix

4 0 373
answers votes views
Exchange the integers in a matrix across the secondary diagonal(or non-major diagonal) ...
nizam 1 2010-04-26 12:23:36

Are Mysql tables and database names case sensitive??

7 0 446
answers votes views
I kind of know the answer, but want you guys to make a guess for this question.. Are Mysql table names and data base na...
Thiyaneshwaran S 1 2010-04-22 10:31:12

Do a level Order Traversal of a BST

3 0 398
answers votes views
Do a level Order Traversal of a BST...
Thiyaneshwaran S 1 2010-04-22 10:22:10

Majority Element in an Array

4 0 712
answers votes views
A Majority element in an Array is an element that comes (n/2 +1) time or more. Given an Array find the majority element...
Thiyaneshwaran S 1 2010-04-22 10:20:52

Largest monotonically increasing sequence

3 0 734
answers votes views
Hey,I was asked to write code for write a code for finding length of largest monotonically increasing sequence in an arr...
Thiyaneshwaran S 1 2010-04-22 10:10:53

How exactly you define the term Identity of an object

1 0 420
answers votes views
If identity is one of the properties of an object, can two objects have the same identity?? Then why the name identity? ...
Thiyaneshwaran S 1 2010-04-21 16:47:33

Merging array - Amazon question

8 0 900
answers votes views
My friend who recently went for an Amazon interview got this question Suppose we have an array a1,a2,... ,an, b1,b2,......
Thiyaneshwaran S 1 2010-04-21 11:14:56

Serialize a binary tree

1 0 534
answers votes views
Given a binary tree, serialize it into a string. In other words, generate a string representation of the tree such that ...
Thiyaneshwaran S 1 2010-04-21 11:11:06

B.Tech(I.T). Why do you want to become a clerk in SBI?

2 0 384
answers votes views
I have done B.tech(I.T.) in 2007.As I am highly qualified for the post. I want to know how to answer the question :"Why ...
community wiki 2010-04-21 09:26:03

How would you build an alarm clock for deaf people?

5 0 606
answers votes views
How would you build an alarm clock for deaf people?...
Thiyaneshwaran S 1 2010-04-21 09:23:16

VM Migration

1 0 294
answers votes views
What is Virtual Machine migration? Why do we need it? (In reference to data-centers and cloud computing) ...
Shrey 1 2010-03-20 07:40:15

How can you fool Linux's process scheduler?

7 1 509
answers votes views
Specifically, we have a CPU intensive process P. We want to fool the Linux scheduler to schedule P oftener than it norma...
donatello 1377 2010-03-19 14:06:45

Inorder successor puzzle

3 0 639
answers votes views
Assume that a full binary search tree is represented in an array with the heap like structure, (ie) A[i]'s left child is...
Lakshmanan_v 1 2010-03-19 11:53:03

How do you write your own random function?

3 0 550
answers votes views
To write our own custom function rand() which would return a random integer. ...
Samarth 1 2010-03-08 14:53:21

substring of 0 and 1

7 0 783
answers votes views
Given and Array of A[1..n] bits, find the length of longest consecutive substring of 0 and 1 such that number of 0s and...
Vikas 1 2010-01-26 21:20:14
Still looking for more? See list of all questions or tags. Please help us answer unanswered questions.

Made with Django.