[algogeeks] Re: Removing a set of characters from a given string

2007-08-12 Thread Peeyush Bishnoi
One solution to this problem is that : char s[]=abracadbra; char p[]=bca; char temp[]; 1. First Remove element b of array p from array s . Compare b of array p with with characters of array s . if b is not matched with characters of array s insert those characters of

[algogeeks] Re: fatest algorithm to find suqre root of a big number of 1000 didgits

2007-08-12 Thread kuper
there is the same problem on the on-line judge (http://online- judge.uva.es/p/v100/10023.html) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to

[algogeeks] Algo to get GCD of given numbers

2007-08-12 Thread sumedh sakdeo
Write algorithm for finding the GCD of given numbers. --~--~-~--~~~---~--~~ 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

[algogeeks] Re: Algo to get GCD of given numbers

2007-08-12 Thread Muntasir Azam Khan
Google is your friend. - Original Message - From: sumedh sakdeo To: algogeeks@googlegroups.com Sent: Sunday, August 12, 2007 9:37 PM Subject: [algogeeks] Algo to get GCD of given numbers Write algorithm for finding the GCD of given numbers.

[algogeeks] Re: Algo to get GCD of given numbers

2007-08-12 Thread Muntasir Azam Khan
On Aug 12, 9:54 pm, sumedh sakdeo [EMAIL PROTECTED] wrote: well i have made this ... ·Find minimum of n numbers. ·Run loop from i=1 to minimum number ·Check if i is divisible by all the three numbers ·If yes, gcd=i ·Continue the step till you