Showing 2 questions
You're given a list of courses and their prerequisites. Determine a valid order in which you can take all the courses, respecting the dependencies. If it's impossible to finish all courses, indicate that.
#1. Course Schedule II
Find the length of the longest subarray where each element is greater than a dynamically changing threshold based on the subarray's length. The threshold for a subarray of length k is threshold / k.
#2. Subarray With Elements Greater Than Varying Threshold
Page 1 of 1 · 2 total