Faster solution for Problem 1