[algogeeks] REARRANGE

2012-09-10 Thread payal gupta
A square picture is cut into 16 squares and they are shuffled. Write a 
program to rearrange the 16 squares to get the original big square.  

-- 
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/-/6RPKkORPwakJ.
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] REARRANGE

2012-09-10 Thread Ravi Ranjan
use quad tree

-- 
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] Accolite placement papers???

2012-09-10 Thread sandeep kumar
Thnx!!! Really helpful

-- 
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] Find Lowest common ancestor of DAG

2012-09-10 Thread atul anand
Given DAG and two vertices v and u , find lowest common ancestor of v and u ?

-- 
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] Accolite placement papers???

2012-09-10 Thread dilip makwana
in our college aptitude consisted of 3 questions
1   http://www.geeksforgeeks.org/archives/7527
2 u are given array of struct

struct data{
int parentValue;
int childValue};

and you have to create binary tree out of it ..

and third i dont remember :P

then as my friend told me , 2 tech rounds i think ...
just make sure you satisfy interviewrs with ur explanation :D

On 10 September 2012 22:40, sandeep kumar sandeepkumar1...@gmail.comwrote:

 Thnx!!! Really helpful

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




-- 
*Dilip Makwana*
VJTI
BTech Computers Engineering
2009-2013

-- 
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] Finding top 10 most frequent repeated word

2012-09-10 Thread Ashish Goel
map + heap for 10 most occurred words..
external sort for not sufficient memory
if the words are dynamically added/deleted, the first map+heap should
succeed.
Ashish Goel
Think positive and find fuel in failure
+919985813081
+919966006652


On Sat, Sep 8, 2012 at 8:06 PM, Kumar Vishal kumar...@gmail.com wrote:

if it can be loaded we can use map , else look for external sorting
coming to second point it dynamically changing leads lot of
   other questions before going give algo .


  On Sat, Sep 8, 2012 at 7:43 PM, Navin Kumar algorithm.i...@gmail.comwrote:

 Given a file which has billions of words and file can  be loaded in
 memory. Now find 10 most frequent words in file. What if file is
 dynamically changing means words are continuously added to it.

 What if file cant be loaded in memory.

 --
 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/-/UcdJKQHPGzoJ.
 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.




 --
 Regards
 Kumar Vishal
 _
 *http://wethecommonpeople.wordpress.com/   *
 *h**ttp://kumartechnicalarticles.wordpress.com/http://kumartechnicalarticles.wordpress.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.


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