[algogeeks] Fwd: vertical sum

2011-08-24 Thread Nikhil Veliath
-- Forwarded message --
From: Nikhil Veliath nve...@gmail.com
Date: 24 Aug 2011 21:18
Subject: vertical sum
To: algogeeks@googlegroups.com algogeeks@googlegroups.com

find the vertical sum of a binary tree .  .  . wat do we mean by vertical
sum anyone any 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.



[algogeeks] Fwd: vertical sum

2011-08-24 Thread Nikhil Veliath
find vertical sum of a binary tree . . . wat do we mean by vertical sum
-- Forwarded message --
From: Nikhil Veliath nve...@gmail.com
Date: 24 Aug 2011 21:18
Subject: vertical sum
To: algogeeks@googlegroups.com algogeeks@googlegroups.com

find the vertical sum of a binary tree .  .  . wat do we mean by vertical
sum anyone any 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.



[algogeeks] dhcp

2011-08-23 Thread Nikhil Veliath
any links or sources how to implement a dhcp server. . . . .using daemon

-- 
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] Fwd: dhcp

2011-08-23 Thread Nikhil Veliath
-- Forwarded message --
From: Nikhil Veliath nve...@gmail.com
Date: Tue, Aug 23, 2011 at 2:15 PM
Subject: dhcp
To: algogeeks@googlegroups.com


any links or sources how to implement a dhcp server. . . . .using daemon

-- 
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] ds apti

2011-08-22 Thread Nikhil Veliath
need link for ds aptitude ! ! thanks for ur 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.



Fwd: Re: [algogeeks] Re: array question

2011-08-15 Thread Nikhil Veliath
Dave tu mahan hai . . .  .
-- Forwarded message --
From: Dipankar Patro dip10c...@gmail.com
Date: 14 Aug 2011 23:27
Subject: Re: [algogeeks] Re: array question
To: algogeeks@googlegroups.com

@Dave nice algo. Really like it.

So the whole complexity depends on the sorting.


On 14 August 2011 22:58, Dave dave_and_da...@juno.com wrote:

 @Dipankar: If extra space is not allowed, I think the optimal solution
 is to sort the two arrays, which takes O(max(m log m, n log n)). Then
 the common element can be found in O(m + n) by a simple search that
 starts at i = j = 0 and increments the index of the lesser of a[i] and
 b[j]. Overall complexity is O(max(m log m, n log n)).

 Dave

 On Aug 14, 8:24 am, Dipankar Patro dip10c...@gmail.com wrote:
  @ Sagar:
  What if extra space in not allowed?
  I think then we have to use the binary search method...
 
  On 14 August 2011 18:50, sagar pareek sagarpar...@gmail.com wrote:
 
 
 
 
 
   Hashing
   O(n+m)
 
   On Sun, Aug 14, 2011 at 6:48 PM, Dipankar Patro dip10c...@gmail.com
 wrote:
 
   how about binary search of each element from array 1 on array 2?
 
   overall complexity : O(nlogn)
 
   On 14 August 2011 18:46, mohit verma mohit89m...@gmail.com wrote:
 
   example:
array 1 :: 1 2 3 4 5 6 7  8 9 10 15
array 2::  23 34 56 13  15  57 432  348
 
   On Sun, Aug 14, 2011 at 6:44 PM, shady sinv...@gmail.com wrote:
 
   meaning ? what is a common element ? example ???
 
   On Sun, Aug 14, 2011 at 6:37 PM, mohit verma mohit89m...@gmail.com
 wrote:
 
   given two arrays : with all distinct elements but one element in
   common. Find the common element in optimal time.
 
   --
   
   *MOHIT VERMA*
 
--
   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.
 
   --
   
   *MOHIT VERMA*
 
--
   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.
 
   --
   **
   Regards
   SAGAR PAREEK
   COMPUTER SCIENCE AND ENGINEERING
   NIT ALLAHABAD
 
--
   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.




-- 
___


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

Re: [algogeeks] array question

2011-08-14 Thread Nikhil Veliath
i feel binary search idea is the best

guys i am having problem in finding out complexity...here is my
solution to the above problem...whats the complexity...

sort the 2 arraysa and b

l=0,i=0,flag=0;
while(a[i]b[0])   // to start comparing from the value that is
slightly greater than the first
i++;  //element of second array
for(i;in;i++)
{
j=l;
while(a[i]=b[j])
{
if(a[i]==b[j])
{
printf(Common element is %d,a[i]);
flag=1
break;
}
j++;
l=j;
}
if(flag==1)
break;
}


On Sun, Aug 14, 2011 at 6:55 PM, shady sinv...@gmail.com wrote:
 @sagar suppose numbers are very large(  10^9) , how will you hash then ?
 can you please state the hashing function in this case

 On Sun, Aug 14, 2011 at 6:50 PM, sagar pareek sagarpar...@gmail.com wrote:

 Hashing
 O(n+m)

 On Sun, Aug 14, 2011 at 6:48 PM, Dipankar Patro dip10c...@gmail.com
 wrote:

 how about binary search of each element from array 1 on array 2?
 overall complexity : O(nlogn)

 On 14 August 2011 18:46, mohit verma mohit89m...@gmail.com wrote:

 example:
  array 1 :: 1 2 3 4 5 6 7  8 9 10 15
  array 2::  23 34 56 13  15  57 432  348

 On Sun, Aug 14, 2011 at 6:44 PM, shady sinv...@gmail.com wrote:

 meaning ? what is a common element ? example ???

 On Sun, Aug 14, 2011 at 6:37 PM, mohit verma mohit89m...@gmail.com
 wrote:

 given two arrays : with all distinct elements but one element in
 common. Find the common element in optimal time.

 --
 
 MOHIT VERMA

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



 --
 
 MOHIT VERMA

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



 --
 Regards
 SAGAR PAREEK
 COMPUTER SCIENCE AND ENGINEERING
 NIT ALLAHABAD

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


-- 
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] an array question

2011-08-13 Thread Nikhil Veliath
@$ did not understand how the original array is sorted to give the number!

On Sat, Aug 13, 2011 at 12:50 PM, *$* gopi.komand...@gmail.com wrote:
 1.scan the array and find the maximum digits of integer. lets say m..
 2.Again scan the array and pad the intergers whose digits are less that m (
 m) with zero's .. copy the new integers in a new array
 3.sort the new array in desc order and carry the same even for original
 array.
 4. Now the original array contains the required output.
 ex: original aarray 23,8,19,9,1

 max digits : 2 (for 23 as well as 19)
 step 2: new array 23,80,19,90,10
 step3. sort .. 90,80,23,19,10 .. and corresponding original is .. 98231910.

 original array contains the original output..



 On Sat, Aug 13, 2011 at 7:15 AM, chengjie qi starboy...@gmail.com wrote:

 int compare(int a, int b) {
 string s = Integer.tostring(a);
 string y = Integer.tostring(b);
 if (s +y  y+s)
    return -1;
 else
    return 1;
 }

  use this to write quick sort , you can get the answer.
 On Fri, Aug 12, 2011 at 8:34 PM, Yasir Imteyaz yasir@gmail.com
 wrote:

 An array of integers is given and you have to find the largest possible
 integer by concatenating all elements:
 example:
 array:  87  36  52
 answer:  875236
 array: 87 9 52
 answer: 98752

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



 --
 stay hungry stay foolish
 Chengjie Qi


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



 --
 Thx,
 --Gopi

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



Re: [algogeeks] an array question

2011-08-13 Thread Nikhil Veliath
@$ the ans should be 9823191 and not 98231910

On Sat, Aug 13, 2011 at 12:59 PM, Nikhil Veliath nve...@gmail.com wrote:
 @$ did not understand how the original array is sorted to give the number!

 On Sat, Aug 13, 2011 at 12:50 PM, *$* gopi.komand...@gmail.com wrote:
 1.scan the array and find the maximum digits of integer. lets say m..
 2.Again scan the array and pad the intergers whose digits are less that m (
 m) with zero's .. copy the new integers in a new array
 3.sort the new array in desc order and carry the same even for original
 array.
 4. Now the original array contains the required output.
 ex: original aarray 23,8,19,9,1

 max digits : 2 (for 23 as well as 19)
 step 2: new array 23,80,19,90,10
 step3. sort .. 90,80,23,19,10 .. and corresponding original is .. 98231910.

 original array contains the original output..



 On Sat, Aug 13, 2011 at 7:15 AM, chengjie qi starboy...@gmail.com wrote:

 int compare(int a, int b) {
 string s = Integer.tostring(a);
 string y = Integer.tostring(b);
 if (s +y  y+s)
    return -1;
 else
    return 1;
 }

  use this to write quick sort , you can get the answer.
 On Fri, Aug 12, 2011 at 8:34 PM, Yasir Imteyaz yasir@gmail.com
 wrote:

 An array of integers is given and you have to find the largest possible
 integer by concatenating all elements:
 example:
 array:  87  36  52
 answer:  875236
 array: 87 9 52
 answer: 98752

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



 --
 stay hungry stay foolish
 Chengjie Qi


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



 --
 Thx,
 --Gopi

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



[algogeeks] Fwd: max product

2011-08-07 Thread Nikhil Veliath
-- Forwarded message --
From: Nikhil Veliath nve...@gmail.com
Date: 7 Aug 2011 18:31
Subject: max product
To: algoge...@goooglegroups.com

given an array that has n nos . . . . find the maximum product of 3 nos and
display the 3 nos . . .

25 9 6 8 -20 -5 -10

so
max product 5000

the nos are -20 -10 25

give an O(n) solution and if possible try avoid using sort

-- 
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] max product!

2011-08-07 Thread Nikhil Veliath
given an array that has n nos . . . . find the maximum product of 3
nos and display the 3 nos . . .

25 9 6 8 -20 -5 -10

so
max product 5000

the nos are -20 -10 25

give an O(n) solution and if possible try avoid using sort

-- 
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] Recursion Help

2011-08-07 Thread Nikhil Veliath
i am having problems in writing code using recursion.any help
!!...any links?

-- 
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] Fwd: max product

2011-08-07 Thread Nikhil Veliath
@puneet: Any code ?
Finding the min 3 and max 3 nos witout using sort...so using 6 variables?


On Sun, Aug 7, 2011 at 6:41 PM, Puneet Ginoria punnu.gino...@gmail.com wrote:
 find the first three largest nos. and 3 smallest number(negatives).. then
 easily you can fig. out the solution..
 O(6n) solution i guess which is O(n)

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



Re: [algogeeks] Re: c-aps

2011-08-07 Thread Nikhil Veliath
http://cquestionbank.blogspot.com/2008/02/c-pointer-questions-with-solutions.html

On Sun, Aug 7, 2011 at 7:10 PM, soundar soundha...@gmail.com wrote:
 try indiabix.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.



[algogeeks] recursion help!!!

2011-08-07 Thread Nikhil Veliath
i am having problems in writing code using recursion.any help
!!...any links?

-- 
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] recursion nearest square

2011-08-07 Thread Nikhil Veliath
write a recursive code to print the nearest square of a number

eg if no is 27

the nearest square is 5

it should also take care of large nos...

-- 
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] recursion help!!!

2011-08-07 Thread Nikhil Veliath
hey can ya give me some recursive codes wid a little
explanationthnx in advance!

On Sun, Aug 7, 2011 at 8:05 PM, sukran dhawan sukrandha...@gmail.com wrote:
 write simple recursive routines and trace them for each program... using a
 stack by popping and pushing.do it for some 10 programs.u will automatically
 appreciate the power of recursion and learn it :)

 On Sun, Aug 7, 2011 at 8:03 PM, Nikhil Veliath nve...@gmail.com wrote:

 i am having problems in writing code using recursion.any help
 !!...any links?

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


-- 
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] Fwd: recursive nearest square

2011-08-07 Thread Nikhil Veliath
-- Forwarded message --
From: Nikhil Veliath nve...@gmail.com
Date: 7 Aug 2011 20:11
Subject: recursive nearest square
To: algogeeks@googlegroups.com

write a recursive code to print the nearest square of a number

eg if no is 27

the nearest square is 5

it should also take care of large nos...

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