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

Jaime's 기술 블로그

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

Jaime's 기술 블로그

검색하기 폼
  • All (499)
    • IntelliJ IDEA (8)
    • SpringBoot (83)
      • Web Application 만들기 (71)
      • JWT 튜토리얼 (5)
    • Java (19)
    • JPA (33)
    • Querydsl (14)
    • SRE (7)
    • gRPC (10)
    • macOS (7)
    • Docker (1)
    • Linux (5)
    • R (5)
    • Test (3)
    • ETC (13)
    • Algorithm (265)
      • LeetCode (258)
    • Retrospect (4)
    • git (1)
    • Architecture (8)
    • Book (10)
      • 함께 자라기 (7)
      • 프로그래머의 뇌 (3)
    • Essay (1)
  • 방명록

All (499)
844. Backspace String Compare

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given two strings s and t, return true if they are equal when both are typed into empty text editors. '#' means a backspace character. Note that after backspacing an empty text, the text will continue empty. Example 1: Input: s = "ab#c", t = "ad#c" Output: true Explanation: Both s and t become "ac". Example 2: Input: s = "ab##", t = "c#d#" Output: tru..

Algorithm/LeetCode 2022. 5. 6. 10:30
703. Kth Largest Element in a Stream

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Design a class to find the kth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element. Implement KthLargest class: KthLargest(int k, int[] nums) Initializes the object with the integer k and the stream of integers nums. int add(int val) Appends the integer val to the stream and returns the elemen..

Algorithm/LeetCode 2022. 5. 5. 10:30
705. Design HashSet

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Design a HashSet without using any built-in hash table libraries. Implement MyHashSet class: void add(key) Inserts the value key into the HashSet. bool contains(key) Returns whether the value key exists in the HashSet or not. void remove(key) Removes the value key in the HashSet. If key does not exist in the HashSet, do nothing. Example 1: Input ["MyHashSet",..

Algorithm/LeetCode 2022. 5. 4. 10:30
410. Split Array Largest Sum

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an array nums which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays. Write an algorithm to minimize the largest sum among these m subarrays. Example 1: Input: nums = [7,2,5,10,8], m = 2 Output: 18 Explanation: There are four ways to split nums into two subarrays. The best way is to split ..

Algorithm/LeetCode 2022. 5. 3. 10:30
스프링 부트 웹 애플리케이션 제작(47): 모임 도메인 설계

본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 49137fc) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 49137fc ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임(Event)과 참가(Enrollment) 두 개의 Entity를 설계하고 기존 Entity와의 관계를 설정합니다. 설계 먼저 Entity 관계는 아래와 같습니다. Event는 Study, Account를 참조할 수 있는 단..

SpringBoot/Web Application 만들기 2022. 5. 2. 10:30
스프링 부트 웹 애플리케이션 제작(46): 스터디 가입, 탈퇴 기능 구현

본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 036e467) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 036e467 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 스터디를 가입하고 탈퇴하는 기능을 구현합니다. 엔드포인트 추가 StudyController에 가입/삭제 엔드포인트를 추가합니다. /src/main/java/io/lcalmsky/app/study/endpoint/StudyCont..

SpringBoot/Web Application 만들기 2022. 5. 1. 10:30
897. Increasing Order Search Tree

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary search tree, rearrange the tree in in-order so that the leftmost node in the tree is now the root of the tree, and every node has no left child and only one right child. Example 1: Input: root = [5,3,6,2,4,null,8,1,null,null,null,7,9] Output: [1,null,2,null,3,null,4,null,5,null,6,null,7,null,8,null,9] Example 2: Input: root = [5,1,7..

Algorithm/LeetCode 2022. 4. 30. 10:30
669. Trim a Binary Search Tree

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary search tree and the lowest and highest boundaries as low and high, trim the tree so that all its elements lies in [low, high]. Trimming the tree should not change the relative structure of the elements that will remain in the tree (i.e., any node's descendant should remain a descendant). It can be proven that there is a unique a..

Algorithm/LeetCode 2022. 4. 29. 10:30
81. Search in Rotated Sorted Array II

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem There is an integer array nums sorted in non-decreasing order (not necessarily with distinct values). Before being passed to your function, nums is rotated at an unknown pivot index k (0

Algorithm/LeetCode 2022. 4. 28. 10:30
700. Search in a Binary Search Tree

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given the root of a binary search tree (BST) and an integer val. Find the node in the BST that the node's value equals val and return the subtree rooted with that node. If such a node does not exist, return null. Example 1: Input: root = [4,2,7,1,3], val = 2 Output: [2,1,3] Example 2: Input: root = [4,2,7,1,3], val = 5 Output: [] Constraints: The ..

Algorithm/LeetCode 2022. 4. 27. 10:30
이전 1 ··· 17 18 19 20 21 22 23 ··· 50 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • github
TAG
  • spring boot application
  • 스프링 부트
  • Spring Data JPA
  • 스프링 부트 애플리케이션
  • 함께 자라기 후기
  • leetcode
  • 스프링 데이터 jpa
  • 알고리즘
  • Jackson
  • 스프링 부트 회원 가입
  • r
  • QueryDSL
  • gRPC
  • Linux
  • spring boot jwt
  • spring boot app
  • @ManyToOne
  • Java
  • proto3
  • 스프링 부트 튜토리얼
  • 스프링부트
  • Spring Boot Tutorial
  • 클린 아키텍처
  • Spring Boot
  • Spring Boot JPA
  • 헥사고날 아키텍처
  • JSON
  • 함께 자라기
  • intellij
  • JPA
more
«   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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바