From bbc4677f4ce0f570e1edb1c43ba151cf6368b83e Mon Sep 17 00:00:00 2001 From: Yanghyeondong <37038105+Yanghyeondong@users.noreply.github.com> Date: Wed, 23 Nov 2022 16:46:57 +0900 Subject: [PATCH 1/8] Fix 26-1.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [이슈 링크](https://github.com/onlybooks/algorithm-interview/issues/160) 간단하게 `ListNode` 주석 및 변수만 고쳐봤습니다. 리트코드 통과도 확인했습니다. 좋은 책 감사합니다! --- 3-linear-data-structures/ch10/26-1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3-linear-data-structures/ch10/26-1.py b/3-linear-data-structures/ch10/26-1.py index 209cf71..9896d9c 100644 --- a/3-linear-data-structures/ch10/26-1.py +++ b/3-linear-data-structures/ch10/26-1.py @@ -1,9 +1,9 @@ -# Definition for singly-linked list. +# Definition for doubly-linked-list. class ListNode: def __init__(self, x): self.val = x - self.next = None - + self.right = None + self.left = None class MyCircularDeque: def __init__(self, k: int): From b1452b031b187251f487e4e83f5b3c245a1d9891 Mon Sep 17 00:00:00 2001 From: Jongbin Won <114343209+Jongbin-kr@users.noreply.github.com> Date: Tue, 15 Aug 2023 21:32:50 +0900 Subject: [PATCH 2/8] Edit README.md 10_array_partition hyperlink MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 10번 문제 [배열 파티션 I]의 leetcode 링크가 변경되어 수정합니다. 기존 링크: https://leetcode.com/problems/array-partition-i/ 수정 링크: https://leetcode.com/problems/array-partition) 그래서 초록옷 입은 애가 젤다죠? --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47b670a..1c4153b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ | 7 | [두 수의 합](https://leetcode.com/problems/two-sum/) | ★ | 7장. 배열 | [7-1.py](3-linear-data-structures/ch07/7-1.py)
[7-2.py](3-linear-data-structures/ch07/7-2.py)
[7-3.py](3-linear-data-structures/ch07/7-3.py)
[7-4.py](3-linear-data-structures/ch07/7-4.py)
[7-5.py](3-linear-data-structures/ch07/7-5.py)
[7-6.go](3-linear-data-structures/ch07/7-6.go) | | 8 | [빗물 트래핑](https://leetcode.com/problems/trapping-rain-water/) | ★★★ | 7장. 배열 | [8-1.py](3-linear-data-structures/ch07/8-1.py)
[8-2.py](3-linear-data-structures/ch07/8-2.py) | | 9 | [세 수의 합](https://leetcode.com/problems/3sum/) | ★★ | 7장. 배열 | [9-1.py](3-linear-data-structures/ch07/9-1.py)
[9-2.py](3-linear-data-structures/ch07/9-2.py) | -| 10 | [배열 파티션 I](https://leetcode.com/problems/array-partition-i/) | ★ | 7장. 배열 | [10-1.py](3-linear-data-structures/ch07/10-1.py)
[10-2.py](3-linear-data-structures/ch07/10-2.py)
[10-3.py](3-linear-data-structures/ch07/10-3.py) | +| 10 | [배열 파티션 I](https://leetcode.com/problems/array-partition/) | ★ | 7장. 배열 | [10-1.py](3-linear-data-structures/ch07/10-1.py)
[10-2.py](3-linear-data-structures/ch07/10-2.py)
[10-3.py](3-linear-data-structures/ch07/10-3.py) | | 11 | [자신을 제외한 배열의 곱](https://leetcode.com/problems/product-of-array-except-self/) | ★★ | 7장. 배열 | [11-1.py](3-linear-data-structures/ch07/11-1.py) | | 12 | [주식을 사고팔기 가장 좋은 시점](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) | ★ | 7장. 배열 | [12-1.py](3-linear-data-structures/ch07/12-1.py)
[12-2.py](3-linear-data-structures/ch07/12-2.py) | | 13 | [팰린드롬 연결 리스트](https://leetcode.com/problems/palindrome-linked-list/) | ★ | 8장. 연결 리스트 | [13-1.py](3-linear-data-structures/ch08/13-1.py)
[13-2.py](3-linear-data-structures/ch08/13-2.py)
[13-3.go](3-linear-data-structures/ch08/13-3.go)
[13-4.py](3-linear-data-structures/ch08/13-4.py) | From 80d5faa6638f19c489fe0374c424437c7b2d17d2 Mon Sep 17 00:00:00 2001 From: Sang-Kil Park Date: Fri, 22 Sep 2023 18:58:20 +0900 Subject: [PATCH 3/8] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1c4153b..f488283 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ ☆ 학교나 학원에서 강의를 진행하시는 교수님/강사님께 제공 가능한 이 책의 강의 교안 자료가 준비되어 있습니다. (1) 성함, 연락처 (2) 강의처 (3) 강의 교과목 (4) 간단한 강의계획 등을 정리하셔서 support@onlybook.co.kr 이메일로 보내주십시오. 내용 검토 후 제공해드리겠습니다. +★ 참고 GitHub: 《자바 알고리즘 인터뷰 with 코틀린》 https://github.com/onlybooks/java-algorithm-interview + ![마인드맵](https://user-images.githubusercontent.com/1250095/86745916-a62e9a00-c075-11ea-9aa5-8455e2527f87.png) ## 문제 풀이 From 1229eb73017d8a1804b2e8984d925ad99b757acb Mon Sep 17 00:00:00 2001 From: Sang-Kil Park Date: Fri, 22 Sep 2023 18:59:10 +0900 Subject: [PATCH 4/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f488283..46a2fae 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ ☆ 학교나 학원에서 강의를 진행하시는 교수님/강사님께 제공 가능한 이 책의 강의 교안 자료가 준비되어 있습니다. (1) 성함, 연락처 (2) 강의처 (3) 강의 교과목 (4) 간단한 강의계획 등을 정리하셔서 support@onlybook.co.kr 이메일로 보내주십시오. 내용 검토 후 제공해드리겠습니다. -★ 참고 GitHub: 《자바 알고리즘 인터뷰 with 코틀린》 https://github.com/onlybooks/java-algorithm-interview +★ 참고: 《자바 알고리즘 인터뷰 with 코틀린》 https://github.com/onlybooks/java-algorithm-interview ![마인드맵](https://user-images.githubusercontent.com/1250095/86745916-a62e9a00-c075-11ea-9aa5-8455e2527f87.png) From eee1429532c1930749474df8b6b2709b3ead3bbf Mon Sep 17 00:00:00 2001 From: Sang-Kil Park Date: Fri, 22 Sep 2023 19:02:39 +0900 Subject: [PATCH 5/8] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 46a2fae..1f625ed 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ 95가지 알고리즘 문제 풀이로 완성하는 코딩 테스트 +★ 안내: 2023년 9월, [《자바 알고리즘 인터뷰 with 코틀린》](https://www.onlybook.co.kr/entry/java-algorithm-interview) 신간이 출간되었습니다! + ![책표지](http://docs.likejazz.com/images/2020/book-cover.jpg) 《파이썬 알고리즘 인터뷰》는 다음 판매처에서 구매하실 수 있습니다. - [교보문고](https://bit.ly/3feaYxi) From 572d6f8c41bddabd8a745fd9d6be2967c8379300 Mon Sep 17 00:00:00 2001 From: Sang-Kil Park Date: Fri, 22 Sep 2023 19:03:05 +0900 Subject: [PATCH 6/8] Update README.md --- README.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/README.md b/README.md index 1f625ed..8556ef8 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,3 @@ - - -- [파이썬 알고리즘 인터뷰](#파이썬-알고리즘-인터뷰) - - [문제 풀이](#문제-풀이) - - [기타 코드](#기타-코드) - - [리트코드 변경 사항 및 보다 효율적인 풀이](#리트코드-변경-사항-및-보다-효율적인-풀이) - - - # 파이썬 알고리즘 인터뷰 95가지 알고리즘 문제 풀이로 완성하는 코딩 테스트 From 5e4ed1c8a99be789ffebfdc3711d1de758186e6e Mon Sep 17 00:00:00 2001 From: Sang-Kil Park Date: Fri, 22 Sep 2023 19:05:31 +0900 Subject: [PATCH 7/8] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8556ef8..b76adbe 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ ★ 안내: 2023년 9월, [《자바 알고리즘 인터뷰 with 코틀린》](https://www.onlybook.co.kr/entry/java-algorithm-interview) 신간이 출간되었습니다! -![책표지](http://docs.likejazz.com/images/2020/book-cover.jpg) + + 《파이썬 알고리즘 인터뷰》는 다음 판매처에서 구매하실 수 있습니다. - [교보문고](https://bit.ly/3feaYxi) - [YES24](https://bit.ly/3iGw8Gw) From e9a0aac8b51885f2da84df3a349c962041be4d83 Mon Sep 17 00:00:00 2001 From: Sang-Kil Park Date: Fri, 22 Sep 2023 19:15:27 +0900 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b76adbe..f0a4055 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 95가지 알고리즘 문제 풀이로 완성하는 코딩 테스트 -★ 안내: 2023년 9월, [《자바 알고리즘 인터뷰 with 코틀린》](https://www.onlybook.co.kr/entry/java-algorithm-interview) 신간이 출간되었습니다! +★ 안내: 2023년 9월, [《자바 알고리즘 인터뷰 with 코틀린》](https://github.com/onlybooks/java-algorithm-interview) 신간이 출간되었습니다!