Leetcode Activity Selection Problem Dynamic Programming Table