Dev.toZeroText가 prefix-sum binary search로 텍스트 줄 바꿈 알고리즘을 O(n)에서 O(log n)로 최적화하며 메모리 할당 없이 구현한다How prefix-sum binary search makes text line-breaking O(log n) with zero allocationFrontendadvanced18 분 소요2026년 3월 31일
Dev.to중첩 루프를 O(n²)에서 O(n)로 바꾸는 누적 상태 유지 기법Running State Pattern — LeetCode #1480: Running Sum of 1D ArrayFrontendbeginner13 분 소요2026년 3월 30일