Quadratic time LIC algo
Merge branch 'master' of https://github.com/kovarsky/algo_tasks
Necessary