본문 바로가기

공부기록

검색하기
공부기록
프로필사진 코타쿠

  • 분류 전체보기 (166)
    • 일?상 (1)
    • 일단써 (17)
    • Programming (14)
      • python (1)
      • django (3)
      • git (1)
      • etc (2)
      • JAVA (5)
      • Design Pattern (2)
    • 프로젝트 (0)
      • 리시프 (0)
    • 코테 (59)
      • 프로그래머스 (33)
      • 백준 (5)
      • LeetCode (18)
      • 종만북 (3)
    • CS (73)
      • DB (25)
      • OS (26)
      • Network (12)
      • Data Structure (10)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록코테/LeetCode (18)

공부기록

395. Longest Substring with At Least K Repeating Characters

문제 https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/ 코드 못 풀어서 코드는 없다. 피드백 답지는 이거다. https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/discuss/170010/Java-O(n)-Solution-with-Detailed-Explanation-Sliding-Window 아이디어는 다음과 같다. 바깥 for는 한 번에 수용할 알파벳 종류 개수를 제한한다. 알파벳의 종류가 꽉 차지 않았다면 right로 이동한다. 해당 알파벳을 count++한다. 새로운 알파벳이 들어왔다면 알파벳 종..

코테/LeetCode 2021. 6. 1. 18:04
Next Permutation

문제 https://leetcode.com/problems/next-permutation/

코테/LeetCode 2021. 5. 29. 16:24
이전 Prev 1 2 3 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바