Pinterest Interview Question

Simple algorithm dealing with a grid (think bucket tool in photoshop); implement in a way that scrolls smoothly using a table/collection view.

Interview Answer

Anonymous

Feb 9, 2016

Algorithm and implementation are very straightforward. Yet, I was completely thrown by not remembering how to do the most basic tableview stuff (just because). Also, should have asked more leading questions about generalizing the solution.