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

Jaime's 기술 블로그

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

Jaime's 기술 블로그

검색하기 폼
  • All (492)
    • IntelliJ IDEA (8)
    • SpringBoot (83)
      • Web Application 만들기 (71)
      • JWT 튜토리얼 (5)
    • Java (19)
    • JPA (33)
    • Querydsl (14)
    • 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)
  • 방명록

2022/04 (34)
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
991. Broken Calculator

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem There is a broken calculator that has the integer startValue on its display initially. In one operation, you can: multiply the number on display by 2, or subtract 1 from the number on display. Given two integers startValue and target, return the minimum number of operations needed to display target on the calculator. Example 1: Input: startValue = 2, target =..

Algorithm/LeetCode 2022. 4. 26. 10:30
289. Game of Life

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem According to Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970." The board is made up of an m x n grid of cells, where each cell has an initial state: live (represented by a 1) or dead (represented by a 0). Each cell interacts with its eight neighbors ..

Algorithm/LeetCode 2022. 4. 25. 10:30
856. Score of Parentheses

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a balanced parentheses string s, return the score of the string. The score of a balanced parentheses string is based on the following rule: "()" has score 1. AB has score A + B, where A and B are balanced parentheses strings. (A) has score 2 * A, where A is a balanced parentheses string. Example 1: Input: s = "()" Output: 1Example 2: Input: s = "(())" O..

Algorithm/LeetCode 2022. 4. 24. 10:30
31. Next Permutation

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem A permutation of an array of integers is an arrangement of its members into a sequence or linear order. For example, for arr = [1,2,3], the following are considered permutations of arr: [1,2,3], [1,3,2], [3,1,2], [2,3,1]. The next permutation of an array of integers is the next lexicographically greater permutation of its integer. More formally, if all the pe..

Algorithm/LeetCode 2022. 4. 23. 10:30
344. Reverse String

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Write a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place with O(1) extra memory. Example 1: Input: s = ["h","e","l","l","o"] Output: ["o","l","l","e","h"]Example 2: Input: s = ["H","a","n","n","a","h"] Output: ["h","a","n","n","a","H"]Constraints: 1 test(new char[]{&..

Algorithm/LeetCode 2022. 4. 22. 10:30
스프링 부트 웹 애플리케이션 제작(45): 스터디 상태, 경로, 이름 설정, 삭제 기능 구현

본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 30781d0) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 30781d0 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 스터디의 상태를 변경할 수 있는 기능을 구현합니다. 스터디를 생성한 직후에는 스터디가 공개된 상태가 아닌 DRAFT 상태를 가지게 되는데, 이 상태를 공개로 변환하고, 팀원을 모집중임을 알릴 수 있는 상태로 변경할 수 있도록 합..

SpringBoot/Web Application 만들기 2022. 4. 21. 10:30
이전 1 2 3 4 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • github
TAG
  • JSON
  • Spring Data JPA
  • 함께 자라기 후기
  • QueryDSL
  • 스프링 부트 튜토리얼
  • r
  • 스프링 부트 애플리케이션
  • 스프링 데이터 jpa
  • 함께 자라기
  • Spring Boot
  • JPA
  • 스프링 부트
  • 스프링부트
  • proto3
  • spring boot jwt
  • spring boot application
  • intellij
  • Spring Boot JPA
  • Java
  • 클린 아키텍처
  • spring boot app
  • Jackson
  • @ManyToOne
  • gRPC
  • Spring Boot Tutorial
  • leetcode
  • 알고리즘
  • 헥사고날 아키텍처
  • 스프링 부트 회원 가입
  • Linux
more
«   2022/04   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바