Leetcode문제- interview모음

Leejaegun·2025년 3월 21일

코딩테스트 시리즈

목록 보기
1/49
post-thumbnail

📌 "파이썬 알고리즘 인터뷰" 문제 완전 정복 플랜

95개의 알고리즘 문제로 이루어져 있음.
모든 문제를 최소 3번씩 풀어서, 문제를 보면 바로 해결할 수 있도록 만들기!
코드 스니펫을 정리하고, 필요하면 업데이트하기!

기본 학습 플랜 (평소)

모든 문제를 최소 3번씩 풀어보기
문제를 보면 바로 코드가 떠오를 정도로 연습
한 문제를 풀고 코드 스니펫을 정리 및 업데이트
비슷한 유형끼리 묶어서 패턴 학습

코딩 테스트 3일 전 플랜

1️⃣ 아래 문제들을 한 번씩 전부 풀기
2️⃣ 기존 코드 스니펫을 다시 읽고 업데이트
3️⃣ 약한 문제 체크 후 추가 복습

🚀 실행 방식

  1. 95개 문제를 카테고리별로 정리
  2. 매일 일정 개수씩 풀면서 최소 3회 반복
  3. 문제 풀이 후 코드 스니펫 정리 및 업데이트
  4. 코테 3일 전에는 한 문제당 한 번씩 풀면서 최종 점검

목표: 문제를 보면 바로 풀 수 있도록 훈련!
필수 전략: 패턴을 익히고, 코드 스니펫을 활용해 최적화
코테 직전: 모든 문제를 한 번씩 빠르게 복습

문제 모음

1. 문자열 조작

  1. 유효한 팰린드롬
    https://leetcode.com/problems/valid-palindrome

  2. 문자열 뒤집기
    https://leetcode.com/problems/reverse-string/description/

  3. 로그 파일 재정렬
    https://leetcode.com/problems/reorder-data-in-log-files/

  4. 가장 흔한 단어
    https://leetcode.com/problems/most-common-word

  5. 그룹 애너그램
    https://leetcode.com/problems/group-anagrams/

  6. 가장 긴 팰린드롬 부분 문자열
    https://leetcode.com/problems/longest-palindromic-substring

2. 선형 자료구조

  1. 두 수의 합
    https://leetcode.com/problems/two-sum

  2. 빗물 트래핑(어려움)
    https://leetcode.com/problems/trapping-rain-water

  1. 세 수의 합
    https://leetcode.com/problems/3sum/

  2. 배열 파티션(1)
    https://leetcode.com/problems/array-partition/

  3. 자신을 제외한 배열의 곱
    https://leetcode.com/problems/product-of-array-except-self/

  4. 주식을 사고 팔기 가장 좋은 시점
    https://leetcode.com/problems/best-time-to-buy-and-sell-stock/

  5. 팰린드롬 연결리스트
    https://leetcode.com/problems/palindrome-linked-list/

  6. 두 정렬 리스트의 병합
    https://leetcode.com/problems/merge-two-sorted-lists/

  7. 역순 연결 리스트
    https://leetcode.com/problems/reverse-linked-list/

  8. 두 수의 덧셈
    https://leetcode.com/problems/add-two-numbers/

  9. 페어의 노드 스왑
    https://leetcode.com/problems/swap-nodes-in-pairs/

  10. 홀짝 연결리스트
    https://leetcode.com/problems/odd-even-linked-list/

  11. 역순 연결리스트
    https://leetcode.com/problems/reverse-linked-list-ii/

  12. 유효한 괄호
    https://leetcode.com/problems/valid-parentheses

  13. 중복 문자 제거
    https://leetcode.com/problems/remove-duplicate-letters/

  14. 일일 온도
    https://leetcode.com/problems/daily-temperatures/

  1. 큐를 이용한 스택 구현
    https://leetcode.com/problems/implement-stack-using-queues/

  2. 스택을 이용한 큐 구현
    https://leetcode.com/problems/implement-queue-using-stacks/

  3. 원형 큐 디자인
    https://leetcode.com/problems/design-circular-queue/

  4. 원형 데크 디자인
    https://leetcode.com/problems/design-circular-deque/

  5. k개 정렬 리스트 병합
    https://leetcode.com/problems/merge-k-sorted-lists/

  6. 해시맵 디자인
    https://leetcode.com/problems/design-hashmap/

  7. 보석과 돌
    https://leetcode.com/problems/jewels-and-stones/

  8. 중복 문자 없는 가장 긴 부분 문자열
    https://leetcode.com/problems/longest-substring-without-repeating-characters/

  9. 상위 K빈도 요소
    https://leetcode.com/problems/top-k-frequent-elements/

3. 비선형 자료구조

  1. 섬의 개수
    https://leetcode.com/problems/number-of-islands/

  2. 전화번호 문자조합
    https://leetcode.com/problems/letter-combinations-of-a-phone-number/

  3. 순열
    https://leetcode.com/problems/permutations/

  4. 조합
    https://leetcode.com/problems/combinations/

  5. 조합의 합
    https://leetcode.com/problems/combination-sum/

  6. 부분집합
    https://leetcode.com/problems/subsets/

  7. 일정재구성
    https://leetcode.com/problems/reconstruct-itinerary/

  8. 코스 스케쥴
    https://leetcode.com/problems/course-schedule/

  9. 네트워크 딜레이 타임
    https://leetcode.com/problems/network-delay-time/

  10. K경유지 내 가장 저렴한 항공권
    https://leetcode.com/problems/cheapest-flights-within-k-stops/

  11. 이진트리의 최대 깊이
    https://leetcode.com/problems/maximum-depth-of-binary-tree/

profile
Lee_AA

0개의 댓글