Showing 3 of 6 questions
Imagine you're planning to rob houses along a street, but there's a minimum number of houses you must rob without robbing adjacent ones. Find the smallest possible maximum amount you can steal from any single house while meeting this minimum house count requirement.
#1. House Robber IV
Find the maximum sum of a subarray with unique elements within a given array of numbers. You must remove the duplicates to maximize your score.
#2. Maximum Erasure Value
You're given a directed graph. Determine the minimum number of edges you need to reverse so that every node becomes reachable from node 0.
#3. Minimum Edge Reversals So Every Node Is Reachable
Page 1 of 1 · 6 total