Tag: 투포인터
-
코딩테스트 완벽 대비 가이드: 알고리즘 유형부터 문제 풀이 전략까지
Solve Two Sum in O(n) with hash maps instead of O(n²) brute force. Compare 3 approaches with time complexity proof and LeetCode patterns.
-
슬라이딩 윈도우 패턴: O(N²)에서 O(N)으로 최적화
Speed up subarray problems from O(n²) to O(n) using sliding window. Fixed vs variable size, two pointers, and 4 LeetCode patterns solved.
-
투 포인터(Two Pointers) 알고리즘 완벽 가이드 – 배열 탐색 O(n) 최적화의 정석
Two Pointers drops array search from O(n²) to O(n). Master same-direction and opposite-direction patterns with 6 LeetCode problems solved.
-
코딩테스트 필수 유형: 투 포인터(Two Pointers) 완벽 가이드 – 연습 문제와 상세 풀이
Two Pointers solves sum problems in O(N) vs brute-force O(N²). Master two-sum, subarray sum, and three-sum with step-by-step Python solutions.