본문 바로가기

서랍장

검색하기
서랍장
프로필사진 소소한 프로그래머

  • 분류 전체보기 (28)
    • prolog (5)
    • big-data (9)
    • code-jam (0)
    • algorithm (7)
    • CS224(2021WINTER) (0)
    • private (3)
      • memo (0)
      • 나의 공부방 (3)
Guestbook
Apple 2023 맥북 프로 14, 스페이스그레이, M2 Pro 10코어, 16코어, 512GB, 16GB, Z17G0005G, 영문
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • 리트코드
  • 복습
  • big data
  • 입국심사
  • 이분 탐색
  • LeetCode
  • 프로그래머스
  • Min Hash
  • Algorithm
  • 산업공학과
  • 1060
  • 빅데이터
  • 189
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록입국심사 (1)

서랍장

binary search 이분 탐색

요새 코테 공부를 다시 매일 한 문제 씩 풀어나가고 있다. 프로그래머스 이분 탐색 문제도 풀면서, while l bool: pass # could be [0, n], [1, n] etc. depends on problem left, right = min(searchSpace), max(searchSpace) while left < right: mid = left + (right - left) // 2 if condition(mid): right = mid else: left = mid..

algorithm 2022. 10. 23. 22:54
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바