https://solved.ac/problems/algorithms