[algogeeks] Re: [brain teaser ] Find next number in series 10 june

2011-06-10 Thread abhishekriyer
42,50 On Jun 10, 3:29 pm, nicks crazy.logic.k...@gmail.com wrote: @ankur..how did you get that...explain..plz On Fri, Jun 10, 2011 at 3:11 AM, ankur aggarwal aggarwal11...@gmail.comwrote: 42, 49 2011/6/10 • » νιρυℓ « • vipulmehta.1...@gmail.com 42, 47 just guessing

[algogeeks] Re: BRAIN TEASER MATH SYMBOL 5 may

2011-05-05 Thread abhishekriyer
(88) + (888) + 8 + 8 + 8 = 1000 On May 5, 12:33 pm, Lavesh Rawat lavesh.ra...@gmail.com wrote:  *BRAIN TEASER MATH SYMBOL  * * * ** *Make 1000 using eight 8's. You can only use one mathamatical symbol * *Update Your Answers at* : Click

[algogeeks] Re: Divisibility by five

2011-05-03 Thread abhishekriyer
A naive method would be repeated subtraction which is division. So subtract the number repeatedly by 5 unless the value that remains is less than 0. If its 0 then the number is divisible by 5 On May 3, 9:25 am, Dave dave_and_da...@juno.com wrote: Given an integer n, give an O(log n) algorithm to

[algogeeks] Kingdom Of MapleWood

2011-05-02 Thread abhishekriyer
Kingdom of Maplewood is a beautiful country comprising of a lot of small islands of different areas. All the islands are in a straight row. King Rosewood is getting old and has decided to divide the islands among his two sons - Eric and Finn. Luckily, the total number of islands is even. He has