Leetcode/Graph 3

[Leetcode 아주 상세한 문제풀이] 207. Course Schedule - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 207번 문제 Course Schedule 다. 우선 문제를 살펴보자. 리트코드 207번 문제 Course Schedule 링크 Course Schedule - LeetCode Course Schedule - LeetCode Can you solve this real interview question? Course Schedule - 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..

Leetcode/Graph 2023.12.27

[Leetcode 아주 상세한 문제풀이] 200. Number of Islands - 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 200번 문제 Number of Islands 이다. 우선 문제를 살펴보자. 리트코드 200번 문제 Number of Islands 링크 Number of Islands - LeetCode Number of Islands - LeetCode Can you solve this real interview question? Number of Islands - Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by..

Leetcode/Graph 2023.12.27

[Leetcode 아주 상세한 문제풀이] 128. Longest Consecutive Sequence – 코드 line 별 설명

Leetcode 문제 이번에 풀어볼 문제는 리트코드 128번 문제 Longest Consecutive Sequence 다. 우선 문제를 살펴보자. 리트코드 128번 문제 Longest Consecutive Sequence 링크 Longest Consecutive Sequence - LeetCode Longest Consecutive Sequence - LeetCode Can you solve this real interview question? Longest Consecutive Sequence - Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must w..

Leetcode/Graph 2023.12.27