---
title: "Discussion on \"Course Schedule 1\" | Hashnode"
description: "Discussion on \"Course Schedule 1\". Problem\nThere are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] indicates that you must take course bi first if you want to take course ai.\nFor..."
url: "https://hashnode.com/posts/course-schedule-1/68ab5a177349d9d806e42fbc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Course Schedule 1](https://chetan77.hashnode.dev/course-schedule-1?utm_source=hashnode&utm_medium=feed)

Problem There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites\[i\] = \[ai, bi\] indicates that you must take course bi first if you want to take course ai. For...

Aug 24, 2025 · 2 min read · chetan77.hashnode.dev  
Updated Sep 14, 2025  
Read the article

-   [#course-schedule-1](https://hashnode.com/tag/course-schedule-1)
-   [#topological-sort](https://hashnode.com/tag/topological-sort)
-   [#bfs](https://hashnode.com/tag/bfs)
-   [#graphs](https://hashnode.com/tag/graphs)
-   [#dsa](https://hashnode.com/tag/dsa)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

  
[View profile](https://hashnode.com/@chetan77)

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
