Re: [algogeeks] Re: Interview Question

2013-07-27 Thread Ila Jain
No distinction has been amongst stduents. I think it is abt incraesing the distance between any two students. On Sun, Jul 28, 2013 at 10:45 AM, Dave dave_and_da...@juno.com wrote: @Enchantress: I'm assuming that you are talking about cheating by copying from nearby students. If this is not

[algogeeks] counting palindromes CODECHEF

2011-05-19 Thread ila
My code using dp takes leeser amount of time than a few submitted solutions still submission says TLE .. Kindly help!! #include iostream #include cstring #include cstdlib #include stdio.h using namespace std; int A[1001][1001]; bool if_palindrome( string s, int i, int j ) { if(

[algogeeks] Re: first fit bin packing

2011-05-17 Thread ila
@Ankit Wht about updating the nodes when a value has been added to the bin ?? The left over space has to be modified n so is the tree. On May 17, 1:17 pm, ankit sambyal ankitsamb...@gmail.com wrote: Hey Guys, here is my solution : we can use AVL trees for this. We will use the left over space