not sure if everybody will read my older post.. so here is my newer version of ps5-ps6 code..please find out the bugs if any :) thanks http://ideone.com/YMZ01
http://dpaste.com/570476/ This is mine. There is a lot similar. Nice time addition. Still looking. Feel free to comment. I think getting items out of lists is constant, not sure, but I did that part with bi-section anyway.
I'm having trouble getting yours to actually run. I'm sure it is in the right folder etc... oh well. Still...
you sure you got the words.txt??
yeah i changed them. Well the problem is prob with me... lol. I'll look again later.
BTW nice bisection method there :) ...and about the O(logn) thing ..at least i know it is faster than my linear searching :\
Humph. I don't know why it doesn't work. It doesn't even seem to recognise it. Still, it looks good lol when i was conparing your functions to mine. I wonder if it is just me or not. Obviously it works for you.
Join our real-time social learning platform and learn together with your friends!