IndianGeek

Perspectives on Computer Science and Software Engineering

IndianGeek RSS Feed
 

Posts tagged coding

A case study in micro-optimization

Last week I saw a wrap up from cedric’s coding challenge on his blog, the problem looked simple enough, “write a counter function that counts from 1 to max but only returns numbers whose digits don’t repeat”.
My first stab at it consisted of a brute force solution of looking at every natural number up to [...]