You "hate coded", BUT you went backed, and fixed the solution with better code (examples: more elegant algorithm, efficient use of memory, better performance, better use of data structures, easier to read and/or maintain, added comments, added unit testing, etc)
by appalasian December 06, 2017