next() in Python

Liked I mentioned in my previous post, I have digging deep into list comprehensions and iterators in Python recently. During this exploration I came across a neat method possessed by all iterators, called next(). This method returns the next element of an iterable if it exists or else it throws an exception. This method helped… Continue reading next() in Python

My journey with competitive programming so far

I was randomly browsing youtube and came across a video titled ‘An interview with a competitive programmer’. The title piqued my interest as I had no idea about ‘competitive programming’. The interview was with Errichto, who had secured 2nd place in google code jam. He described his entire journey with competitive programming and it inspired… Continue reading My journey with competitive programming so far