blakeembrey / code-problems

Common code and interview problems solved in multiple languages
MIT License
3.81k stars 509 forks source link

Update to handle an edge case #150

Closed Widea closed 9 years ago

Widea commented 9 years ago

Added an update to handle the case when array size is not a multiple of 3. Without this the program will run into an infinite loop!

blakeembrey commented 9 years ago

Thanks :smile: