[algogeeks] Re: Identify The f(x) :you are given a series of numbers(asked by MICROSOFT )?

2009-11-05 Thread Pawandeep
digits of n, n + reversal of digits of n, and so forth. Dave On Oct 29, 7:19 am, Pawandeep bhatti.pawand...@gmail.com wrote: hello everyone , you are given a series of numbers like 2,4,6,8,10,12this is simple though nd u hve to identify that  f(x) = x+ 2

[algogeeks] Identify The f(x) :you are given a series of numbers(asked by MICROSOFT )?

2009-10-29 Thread Pawandeep
hello everyone , you are given a series of numbers like 2,4,6,8,10,12this is simple though nd u hve to identify that f(x) = x+ 2 for this series .. now can you write a program to identify the f(x) for any series of numbers.. // i know it is tough but don't say its not possible

[algogeeks] Re: picture problem

2009-10-15 Thread Pawandeep
Case 1: We have the Big Picture to verify the result solution: 1.first we will identify the 16 regions and assign a unique id to them, 2.then , we can check the given 16 squares(shuffled) one by one to match the unique number in databse, 3. finallly we can arrange the

[algogeeks] Re: Question asked in MS interview

2009-08-20 Thread Pawandeep
; - rear = newWord; - temp.next = rear; (simple insertion at the rear end of queue) } I think this will work .. if Anyone thinks it won't then Do suggest modification or indicate error Pawandeep --~--~-~--~~~---~--~~ You received this message because you are subscribed

[algogeeks] Re: Question asked in MS interview

2009-08-16 Thread Pawandeep
Well Hi to all , I think the things aren't so complicated as they look here I suppose there is a list of N numbers in a Linked List(along with the frequency). Whenever a user types a new word (recognized by a space), this word is matched with the available words in the list if (match) {