Re: [algogeeks] Solving equation

2014-01-14 Thread Arpit Sood
Equivalent to solving an infix expression using stack with a pair (first variable, second constant) as the element On Sat, Jan 11, 2014 at 6:50 AM, atul anand atul.87fri...@gmail.com wrote: Hello, How to solve an equation with one unknown variable ? operator allowed are : + , - for eg .

Re: [algogeeks] Re: Find the number of islands/connected components

2013-04-11 Thread Arpit Sood
to the Google Groups Algorithm Geeks group. To unsubscribe from this group and stop receiving emails from it, send an email to algogeeks+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Regards, Arpit Sood -- You received this message because

Re: [algogeeks] Trie Implementaion Issues

2013-01-01 Thread Arpit Sood
error message. -- -- Regards, Arpit Sood --

Re: [algogeeks] Hii

2012-08-14 Thread Arpit Sood
. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Amazon Onsite

2012-03-26 Thread Arpit Sood
. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] POW function in C++/C

2012-03-26 Thread Arpit Sood
, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] ORDERS

2012-02-06 Thread Arpit Sood
i have not solved it, but you can use a BST with fields as number of elements on left and height. On Sun, Feb 5, 2012 at 7:01 PM, shady sinv...@gmail.com wrote: Hi, Any hints for this problem ? Link http://www.codechef.com/problems/ORDERS/ -- You received this message

Re: [algogeeks] Re: question

2011-09-22 Thread Arpit Sood
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Re: SEEK advice very urgent

2011-09-01 Thread Arpit Sood
it will be a little costly, but you can ask them to provide accommodation and other utilities. Just be straightforward with them and tell all your needs. Language is a bit of a problem, but that can be in other provinces of India too. They are taking students across india so you wont be alone :)

Re: [algogeeks] Hexadecimal to Decimal

2011-09-01 Thread Arpit Sood
in the same way as you do for binary to decimal, only base needs to be changed On Thu, Sep 1, 2011 at 10:04 PM, rShetty rajeevr...@gmail.com wrote: Given a Hexadecimal value as a string, give a C Code to convert it into decimal value? If 0xff then output should be 255. -- You received this

Re: [algogeeks] Question

2011-07-25 Thread Arpit Sood
. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Re: Reason for banning

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

Re: [algogeeks] Re: Reason for banning

2011-07-06 Thread Arpit Sood
for activities on this group... On Jul 6, 11:16 am, shady sinv...@gmail.com wrote: lol, arpit you have just joined, lol On Wed, Jul 6, 2011 at 9:44 PM, shady sinv...@gmail.com wrote: some new moderators are sanket, arpit, sunny, piyush On Wed, Jul 6, 2011 at 9:41 PM, Arpit Sood

Re: [algogeeks] Re: Interview Question

2011-07-03 Thread Arpit Sood
, 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, Arpit Sood -- You received this message because you

Re: [algogeeks] please explain

2011-07-01 Thread Arpit Sood
, Arpit Sood -- 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

Re: [algogeeks] Re: Amazon - Longest palindrome in a string in O(n)

2011-07-01 Thread Arpit Sood
/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] [BRAIN TEASER]Popular Puzzle of the week

2011-06-26 Thread Arpit Sood
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, Arpit Sood -- You

Re: [algogeeks] Re: puzzle

2011-06-26 Thread Arpit Sood
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Re: puzzle

2011-06-26 Thread Arpit Sood
is going to die if no one then rest bottle out of three will be poisoned beer bottle On Mon, Jun 27, 2011 at 12:56 AM, Arpit Sood soodfi...@gmail.com wrote: 4 @amit what's the answer ? On Mon, Jun 27, 2011 at 12:40 AM, shiv narayan narayan.shiv...@gmail.com wrote: can u please explain how

Re: [algogeeks] Re: puzzle

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

Re: [algogeeks] Fiddling with Bits

2011-06-17 Thread Arpit Sood
lol, i mean in linear time On Fri, Jun 17, 2011 at 3:27 PM, sunny agrawal sunny816.i...@gmail.comwrote: where n is ?? On Fri, Jun 17, 2011 at 3:23 PM, Arpit Sood soodfi...@gmail.com wrote: i have got AC with O(n) On Fri, Jun 17, 2011 at 2:59 PM, sunny agrawal sunny816.i

Re: [algogeeks] Re: find output.

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

Re: [algogeeks] a doubt..

2011-06-14 Thread Arpit Sood
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, Arpit Sood

Re: [algogeeks] Re: MS Question

2011-06-14 Thread Arpit Sood
/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Re: MS Question

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

Re: [algogeeks] [brain teaser ] Probability Riddle Loaded Revolver 13 june

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

Re: [algogeeks] FOR ALL INDIANS PLZ READ IT

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

Re: [algogeeks] Re: FOR ALL INDIANS PLZ READ IT

2011-06-12 Thread Arpit Sood
Sunny Agarwal sunny816.i...@gmail.com On Sun, Jun 12, 2011 at 8:37 PM, sharad kumar aryansmit3...@gmail.comwrote: please nominate atleast 5 more pplwithout self nomination[?] On Sun, Jun 12, 2011 at 7:27 PM, ross jagadish1...@gmail.com wrote: +1 On Jun 12, 3:38 pm, Arpit Sood

Re: [algogeeks] Re: Scheduling

2011-06-11 Thread Arpit Sood
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, Arpit Sood -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] solve the series

2011-06-09 Thread Arpit Sood
. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] solve the series

2011-06-09 Thread Arpit Sood
this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Please Ban Sohail

2011-06-09 Thread Arpit Sood
. -- Regards, Arpit Sood -- 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

Re: [algogeeks] [brain teaser ] Find The Next Number 6 june

2011-06-06 Thread Arpit Sood
/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] [brain teaser ] Find The Next Number 6 june

2011-06-06 Thread Arpit Sood
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, Arpit

Re: [algogeeks] [brain teaser ] Hardest Brain Teaser 22april

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

Re: [algogeeks] [brain teaser ] Identical Twin Puzzle 19april

2011-04-19 Thread Arpit Sood
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Regards, Arpit Sood -- 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

Re: [algogeeks] Re:

2011-04-03 Thread Arpit Sood
. 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, Arpit Sood -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

[algogeeks] Re: Google News Search API

2011-03-30 Thread Arpit Sood
how to use it. Thanks. Regards, Arpit Sood On Wed, Mar 30, 2011 at 11:31 PM, Jeremy Geerdes jrgeer...@gmail.comwrote: The NewsSearch API is not allowed to obtain more than 8 results per request, and only up to the first 64 results in total. There is no hard query limit

Re: [algogeeks] [brain teaser ] 29march

2011-03-29 Thread Arpit Sood
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, Arpit Sood -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Re: SPOJ problem-BRCKTS

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

Re: [algogeeks] Re: SPOJ problem-BRCKTS

2011-03-23 Thread Arpit Sood
oops, i mean it shouldn't be modified. On Wed, Mar 23, 2011 at 6:56 PM, Arpit Sood soodfi...@gmail.com wrote: in the topcoder tutorial of the segment trees, the value of the M[node] should be modified during query, we only need to return it. Just a correction, people have mentioned

Re: [algogeeks] SAP PI/XI Consultant

2011-03-10 Thread Arpit Sood
how many mails are you going to send ??? On Thu, Mar 10, 2011 at 11:12 PM, Ben Smith ben.recrui...@gmail.com wrote: Please send email directly to b...@panzersolutions.com We have an excellent position and need qualified candidates ASAP *Title: SAP PI/XI

Re: [algogeeks] SPOJ PROBLEM

2011-03-07 Thread Arpit Sood
want the correct logic/solution for the solutioni know my code is wrongi failed to apply DP in my code.plz help !! On Sun, Mar 6, 2011 at 1:32 AM, Arpit Sood soodfi...@gmail.com wrote: where is dp in your code ? btw, there is a spoj forum, you should search over there and you

Re: [algogeeks] SPOJ PROBLEM

2011-03-05 Thread Arpit Sood
where is dp in your code ? btw, there is a spoj forum, you should search over there and you will get the required test cases where your code fails. Cheers! On Sat, Mar 5, 2011 at 11:45 PM, Logic King crazy.logic.k...@gmail.comwrote: i tried to solve the problem on spoj

Re: [algogeeks] Re: Amazon Interview question

2011-02-28 Thread Arpit Sood
Are there any constraints in the problem, because it seems straight forward. if number of elements are 2n indexed from 0 to 2n-1 for i=0 to n-1: new_array[i*2]=old_array[i]; new_array[i*2+1]=old_array[i+n]; On Mon, Feb 28, 2011 at 7:41 PM, bittu shashank7andr...@gmail.com wrote: @jalaj

Re: [algogeeks] Re: Amazon Interview question

2011-02-28 Thread Arpit Sood
well space complexity should be mentioned in the question then, anyway, start with the second element put it at its correct location(say x), then take x put it at its correct location, this was when you do this n-1 time, you will get the correct answer because it forms a cycle. On Mon, Feb 28,

Re: [algogeeks] Re: Lets C Who Really Loves Perfect Square .................

2011-02-25 Thread Arpit Sood
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, Arpit Sood -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Re: Lets C Who Really Loves Perfect Square .................

2011-02-25 Thread Arpit Sood
On Feb 25, 5:13 am, Arpit Sood soodfi...@gmail.com wrote: dave how is this different from brute force ? On Thu, Feb 24, 2011 at 8:56 PM, Dave dave_and_da...@juno.com wrote: @Ashish: The code seems pretty straightforward, but okay. The outer for-loop runs through the numbers

Re: [algogeeks] CODECHEF FLIP COIN problem

2011-02-09 Thread Arpit Sood
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Arpit Sood Some day you will see things my way. http://arpit-sood.blogspot.com -- You received this message because you are subscribed to the Google

Re: [algogeeks] CODECHEF FLIP COIN problem

2011-02-09 Thread Arpit Sood
function ?? On Wed, Feb 9, 2011 at 3:32 PM, Arpit Sood soodfi...@gmail.com wrote: there is problem with the update function... On Tue, Feb 8, 2011 at 8:14 PM, Gaurav Saxena grvsaxena...@gmail.comwrote: Hey thanks for your help I have written a code using range trees but I am still getting TLE

Re: [algogeeks] Re: Adobe Interview Question

2011-01-11 Thread Arpit Sood
to me. As far as I understand, every alternate of two person should sum up equally. Which means every pair of (john, mary) has the same sum for john and mary. On Jan 11, 2:55 am, Arpit Sood soodfi...@gmail.com wrote: @jammy your code isnt working for the mentioned test case. One simple

Re: [algogeeks] amazon c questn

2011-01-11 Thread Arpit Sood
...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Arpit Sood Some day you will see things my way. http://arpit-sood.blogspot.com -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] Re: Adobe Interview Question

2011-01-10 Thread Arpit Sood
at http://groups.google.com/group/algogeeks?hl=en. -- Arpit Sood Some day you will see things my way. http://arpit-sood.blogspot.com -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge

Re: [algogeeks] Re: Adobe Interview Question

2011-01-10 Thread Arpit Sood
@jammy your code isnt working for the mentioned test case. One simple approach is to go greedy on the test data, but that wont always give the optimum answer. On Tue, Jan 11, 2011 at 1:11 PM, Arpit Sood soodfi...@gmail.com wrote: the output for first test case is wrong it should be (John)1 4 5