본문 바로가기 메뉴 바로가기

sondevvvv

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

sondevvvv

검색하기 폼
  • 분류 전체보기 (116)
    • JAVA (54)
      • Clean Code (2)
      • Effective Java (22)
      • Good Code (0)
      • Reactor (2)
      • Netty (4)
      • Memory Analyzer 사용법 (3)
      • Concurrency (2)
    • Spring Framework (13)
      • Spring Framework Documentat.. (0)
      • Spring Cloud (8)
      • Spring Webflux (1)
    • Tomcat (1)
    • AWS (3)
      • Web Server 구축해보기 (3)
    • Database (13)
      • Cassandra (7)
      • DynamoDB (6)
    • 용어 (4)
    • Code Review (4)
    • Kafka (2)
    • IOS (1)
    • Trouble Shooting (12)
    • Zookeeper (0)
    • Avro (4)
    • IDE (1)
      • IntelliJ (1)
    • JPA (1)
    • Algorithm (2)
      • Leetcode (2)
  • 방명록

Algorithm (2)
977. Squares of a Sorted Array

class Solution { public int[] sortedSquares(int[] nums) { int[] result = new int[nums.length]; int resultIndex = 0; int smallestIndex = 0; int smallestNumber = 0; int leftIndex = 0; int rightIndex = 0; for (int i = 0; i = nums.length) { //right 먼저 소진 result[resultIndex] = nums[leftIndex]; leftIndex--..

Algorithm/Leetcode 2025. 3. 19. 15:54
460. LFU Cache

class LFUCache { private final int capacity; // Map cache = new HashMap(); // Map frequencyMap = new HashMap(); // > Map> accessSequenceMap = new HashMap(); // : 현존하는 frequency 를 저장 Set frequencySet = new HashSet(); public void expireCache() { Integer smallestFrequency = null; for (Integer frequency : frequencySet) { if (smallestFrequency..

Algorithm/Leetcode 2025. 3. 19. 15:02
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • N+1
  • aurora
  • getBoolean
  • GlobalFilter
  • RoutePredication
  • circurit breaker
  • spring cloud gateway
  • ConcurrentHashMap
  • Lazy
  • notifyAll()
  • custom config data convertion
  • msyql-connector-java
  • mariadb-connector-j
  • reative
  • router
  • ResultSet
  • dynamodb
  • Seperate Chaining
  • HashMap
  • wait()
  • mariada-connector
  • notify()
  • Flux
  • AbstractMethodError
  • DyanomoDB
  • RouteDefinition
  • MariaDB
  • rate limit
  • referencedColumnName
  • reactor
more
«   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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바