CodeForces - 1304D Shortest and Longest LIS

NoSuchKey