Home
화난돼지 블로그
Cancel

Spring Redis

정리 코드 Spring Redis 연동하기 개발 환경 : Spring boot 3.2.2, java17 의존성 dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.sp...

Redis(2)

HSET : Hash 저장 HSET company name 'Concrete Co' age 1915 industry materials revenue 5.3 HGET : Hash 안에 특정 요소 검색 HGET company name HGETALL : 모든 요소 가져오기 HGETALL company ...

Redis(1)

학습 이유 실무 프로젝트 진행중 다중 인스턴스에 대한 세션을 하나의 포인트에서 관리하기 위해. 자주 쿼리되는 데이터셋을 Caching 하여 성능적으로 이득을 보기 위해. Redis의 특징 1 ] 애플리케이션 캐시나 빠른 응답 속도를 가진 데이터 베이스 2 ] 인메모리에 NoSQL형태...

234. Palindrome Linked List

정리 코드 Recursion Function(재귀함수) : 자기 자신을 재참조, 종료 조건으로 종료 시점을 제어한다. leetcode : 234. Palindrome Linked List 조건 The number of nodes in the list is in the range [1, 105]. ...

231. Power of Two

정리 코드 Recursion Function(재귀함수) : 자기 자신을 재참조, 종료 조건으로 종료 시점을 제어한다. leetcode : 231. Power of Two 조건 -231 <= n <= 231 - 1 class Solution { public boo...

206. Reverse Linked List

정리 코드 Recursion Function(재귀함수) : 자기 자신을 재참조, 종료 조건으로 종료 시점을 제어한다. leetcode : 206. Reverse Linked List 조건 The number of nodes in the list is the range [0, 5000]. ...

203. Remove Linked List Elements

정리 코드 Recursion Function(재귀함수) : 자기 자신을 재참조, 종료 조건으로 종료 시점을 제어한다. leetcode : 203. Remove Linked List Elements 조건 The number of nodes in the list is in the range [0, 1...

21. Merge Two Sorted Lists

정리 코드 Recursion Function(재귀함수) : 자기 자신을 재참조, 종료 조건으로 종료 시점을 제어한다. leetcode : 21. Merge Two Sorted Lists 조건 The number of nodes in both lists is in the range [0, 50]. ...

Stack

정리 코드 stack : LIFO(last in first out) 형태의 자료 구조 public class Node { public Node next; public int value; public Node(int value) { this.value = value; } } stac...

Queue

정리 코드 queue : FIFO(first in first out) 형태의 자료 구조 public class Node { public Node next; public int value; public Node(int value) { this.value = value; } } ...