Cloudera interview question

The algorithm question was very difficult and required figuring out a grid search algorithm and analyzing its time complexity, and then various alternative implementations that would minimize data storage or the order of the algorithm.