Go Back

DSA

Microsoft
Senior Software Engineer
Problem Description
DSA: You are given an array of CPU tasks (A–Z) and a cooldown n. Each interval can execute one task or be idle. Same tasks must have at least n intervals between them. Return the minimum number of intervals needed to complete all tasks. Behavioural Questions: What is the approach to take when requirements are constantly shifting
Description 1
Hints