Leetcode Activity Selection Problem Algorithm For Rubiks Pyramid