Re: [algogeeks] MICRSOFT WRITEN TEST

2011-08-05 Thread Tushar Bindal
they always repeat questions.
go through lined list and trees questions on geeksforgeeks like finding loop
in LL, path in a binary tree (not BST) for a given sum, addition of numbers
stored digitwise in a linked list.
Printing 2d matrix in spiral order, KMP algorithm - these are some questions
they asked in interviews.

this one was asked to several candidates:
given: ddbbccae
output: 2d4a2b2c1a1e
isn't that easy?

On Fri, Aug 5, 2011 at 11:03 AM, siddharam suresh
siddharam@gmail.comwrote:

 thank you
 Thank you,
 Siddharam



 On Fri, Aug 5, 2011 at 10:51 AM, Poised~ dip10c...@gmail.com wrote:

 try this:
 https://groups.google.com/forum/?hl=en#!topic/algogeeks/Mbah1QXrJB4

 --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/algogeeks/-/pB2VUcnr9igJ.

 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.




-- 
Tushar Bindal
Computer Engineering
Delhi College of Engineering
Mob: +919818442705
E-Mail : tushicom...@gmail.com
Website: www.jugadengg.com

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] MICRSOFT WRITEN TEST

2011-08-05 Thread raj kumar
Ms written test
besides objective test you will get three or four subjective questions which
happened in our case:
so be prepared for UML diagrams:
There's high probability that the questions can repeat
So do these:(don,t remember exactly b'coz i wasn't eligible to sit so
writing the questions which i heard from others)
.algorithm for implementing find and replace utility of notepad.
.how to handel race condition in database.

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] MICRSOFT WRITEN TEST

2011-08-04 Thread siddharam suresh
can someone tell me about the microsoft interview written test (i mean what
kind of questions, puzzles, programs will be asked)? some links and
documents will be helpful.
Thank you,
Siddharam


On Fri, Aug 5, 2011 at 10:38 AM, Arun toarunb...@gmail.com wrote:

 @Sidharam
 Sorry!
 I just missed a point.It should be fine.

 On Aug 5, 10:00 am, siddharam suresh siddharam@gmail.com wrote:
  @ toarunb...@gmail.com:
  can you tell me flaw in algo(or sample input)!
  Thank you,
  Siddharam
 
 
 
 
 
 
 
  On Fri, Aug 5, 2011 at 10:28 AM, Arun toarunb...@gmail.com wrote:
   @Sidharam
 
   I dont think your idea goes along with the sample i/p  o/p
 
   On Aug 5, 9:35 am, siddharam suresh siddharam@gmail.com wrote:
my idea is go for inorder traversal find the longest sorted sequence
 in
traversal thats the *'largest BST in a binary tree.'* 
Thank you,
Siddharam
 
On Fri, Aug 5, 2011 at 10:00 AM, Aman Goyal aman.goya...@gmail.com
   wrote:
 while dequing  a node from the queue, how will u check whether a
 bst
 property is sattisfied or not ?..
 
 On Fri, Aug 5, 2011 at 9:49 AM, Dipankar Patro 
 dip10c...@gmail.com
   wrote:
 
 I have some upto this much currently.
 Modify the Breadth First traversal (BFT) a bit. maintain two
 queues,
   one
 is for original traversal.
 
 Start from root,  BFT. when you dequeue a node, check if it
 satisfies
   the
 condition for BST. if yes add the the node to auxiliary queue, if
 not,
   leave
 it and add it's original children to the original queue in both
 cases.
 Some further modifications can the done to have multiple auxiliary
   queues
 and keep track of their heights.
 
 What say?
 
 On 5 August 2011 09:40, Aman Goyal aman.goya...@gmail.com
 wrote:
 
 Yes, that can be a liable case definitely!!!
 
 On Fri, Aug 5, 2011 at 9:35 AM, Dipankar Patro 
 dip10c...@gmail.com
   wrote:
 
 The question is a bit tricky.
 Is it possible that the largest BST is somewhere in deeper
 depth,
   i.e.
 it is not necessarily consisting of the root?
 
 On 5 August 2011 08:46, Aman Goyal aman.goya...@gmail.com
 wrote:
 
 How to find the largest BST in a binary tree.
 
 15
 / \
 10__ 20
 / \
 5 _7
 / \
 2_ __5
 / \/
 0 8 3
 
 The largest BST (may or may not include all of its descendants)
   from
 the above example should be:
 
 15
 / \
 _10 20
 /
 5
 
 Please do not post working code, logic/algorithm or link would
 be
 preferred.
 I know it will be through recursion  , still the logic part of
 recursion is not clear.. would be thankful if anyone could
 help.
 
 --
 You received this message because you are subscribed to the
 Google
 Groups Algorithm Geeks group.
 To post to this group, send email to
 algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
 
 --
 
  
 ___
   
 
 Please do not print this e-mail until urgent requirement. Go
 Green!!
 Save Papers = Save Trees
 
 --
 You received this message because you are subscribed to the
 Google
 Groups Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com
 .
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
 
  --
 You received this message because you are subscribed to the
 Google
   Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
 
 --
 
  
 ___
   
 
 Please do not print this e-mail until urgent requirement. Go
 Green!!
 Save Papers = Save Trees
 
 --
 You received this message because you are subscribed to the Google
   Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
 
  --
 You received this message because you are subscribed to the Google
   Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 

Re: [algogeeks] MICRSOFT WRITEN TEST

2011-08-04 Thread Poised~
try this:
https://groups.google.com/forum/?hl=en#!topic/algogeeks/Mbah1QXrJB4

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/pB2VUcnr9igJ.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] MICRSOFT WRITEN TEST

2011-08-04 Thread siddharam suresh
thank you
Thank you,
Siddharam


On Fri, Aug 5, 2011 at 10:51 AM, Poised~ dip10c...@gmail.com wrote:

 try this:
 https://groups.google.com/forum/?hl=en#!topic/algogeeks/Mbah1QXrJB4

 --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/algogeeks/-/pB2VUcnr9igJ.

 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.