Leetcode Activity Selection Problem Algorithm For Rubikslot