Skip to content

Commit 8aac4c5

Browse files
committed
[level 2] Title: 전화번호 목록, Time: 108.24 ms, Memory: 29.9 MB -BaekjoonHub
1 parent a6eea91 commit 8aac4c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

프로그래머스/2/42577. 전화번호 목록/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### 성능 요약
66

7-
메모리: 30.7 MB, 시간: 93.49 ms
7+
메모리: 29.9 MB, 시간: 108.24 ms
88

99
### 구분
1010

@@ -16,7 +16,7 @@
1616

1717
### 제출 일자
1818

19-
2024년 09월 01일 18:06:40
19+
2025년 04월 14일 18:43:10
2020

2121
### 문제 설명
2222

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def solution(phone_book):
22
phone_book.sort()
3-
for i in range(len(phone_book)-1):
3+
for i in range(len(phone_book) -1):
44
if phone_book[i+1].startswith(phone_book[i]):
55
return False
66
return True

0 commit comments

Comments
 (0)