0617 TIL

고수진·2021년 6월 17일
0

링크텍스트

collections로 배열내 최빈값 찾기

from collections import Counter
c = Counter(numbers)
order = c.most_common()
maximum = order[0][1]

쿼드트리, 분할정복 더 풀어보기
from itertools import combinations

백트레킹-> DFS(깊이 우선탐색)을 통하여 구현하는데 BFS(넓이 우선탐색)의 경우 상대적으로 많은 메모리

profile
수진고

0개의 댓글

관련 채용 정보