Showing 3 of 97 questions
Determine if a number is a 'happy number'. A happy number eventually reaches 1 when replaced by the sum of the squares of its digits, repeating the process until it does.
#1. Happy Number
You're given a list of jobs with start times, end times, and profits. Find the maximum profit you can obtain by scheduling a subset of jobs that don't overlap.
#2. Maximum Profit in Job Scheduling
You are given a list of events with start times, end times, and values. Determine the maximum total value you can obtain by attending at most 'k' events, without any overlapping events.
#3. Maximum Number of Events That Can Be Attended II
Page 1 of 1 · 97 total