NVIDIA Hiring Challenge | Online Assessment Questions | Parallel Courses III | On Campus (2023)

Nvidia · Question · Posted Jun 2026

Problem Statement You are given n courses labeled from 1 to n. Some courses have prerequisite requirements represented by the array relations, where: relations[i] = [prevCourse, nextCourse] indicates that course prevCourse must be completed before course nextCourse can begin. You are also given an integer array time where: time[i] represents the number of months required to complete course i + 1. You may take any number of courses simultaneously as long as all prerequisite requirements are satisfied. Return the minimum ...

The full answer & interview discussion are available to premium members.

Log in Create a free account