인생은 효율성

  • 홈
  • 태그
  • 방명록

207. Course Schedule 1

LeetCode BFS문제: 207. Course Schedule (파이썬 딕셔너리, 자바스크립트 map(value가 배열))

https://leetcode.com/problems/course-schedule/ Course Schedule - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com prerequisites의 [0]의 값을 갖기 위해서는 [1]값을 먼저 얻어야 하는 BFS문제이다. 전형적인 BFS문제대로 풀었다. ① [0]의 값을 키로 딕셔너리(python) 혹은 맵(JS)를 만들어서 해당 값을 얻기 위해 먼저 얻어야 하는 목록들을 value로 저장해둔다. ② numCourses-..

알고리즘 2022.05.24
이전
1
다음
더보기
250x250
프로필사진
  • 분류 전체보기 (209)
    • 짧은만화 (15)
    • 토이프로젝트 (20)
    • JavaScript (26)
    • React (17)
    • 알고리즘 (91)
    • WEB (12)
    • 개발환경 (5)
    • 프로그래밍 (5)
    • 네트워크 (7)
    • MSSQL (6)
    • 기타 (2)

최근댓글

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바