본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 69fd108) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 69fd108 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 관심 주제 추가시 자동완성 기능을 구현합니다. 기존에 있는 태그 목록에서 선택할 수 있습니다. 지난 포스팅에서 사용했던 tagify 라이브러리의 기능을 활용합니다. 구현 엔드포인트 수정 먼저 태그를 조회해오는 시점에 기존 태그 ..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: efbc515) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout efbc515 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 지난 포스팅에 이어서 관심 주제 등록, 조회, 삭제 기능을 구현합니다. 패키지 리패터링 시작에 앞서 도메인 주도 개발 컨벤션에 맞게 기존 패키지를 수정해주겠습니다. 이전에 Tag Entity가 account 패키지 하위에 존재했..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given a string s. We want to partition the string into as many parts as possible so that each letter appears in at most one part. Note that the partition is done so that after concatenating all the parts in order, the resultant string should be s. Return a list of integers representing the size of these parts. Example 1: Input: s = "ababcbacadefegdehi..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem In a row of dominoes, tops[i] and bottoms[i] represent the top and bottom halves of the ith domino. (A domino is a tile with two numbers from 1 to 6 - one on each half of the tile.) We may rotate the ith domino, so that tops[i] and bottoms[i] swap values. Return the minimum number of rotations so that all the values in tops are the same, or all the values in ..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: c5c6507) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout c5c6507 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 관심 주제 등록을 위한 뷰를 구현합니다. 뷰 구현에 앞서 구현에서 누락된 부분을 먼저 수정하겠습니다. Tag Entity 수정 Tag Entity에 컬럼 정보를 추가해줍니다. /src/main/java/io/lcalmsky/ap..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem We stack glasses in a pyramid, where the first row has 1 glass, the second row has 2 glasses, and so on until the 100th row. Each glass holds one cup of champagne. Then, some champagne is poured into the first glass at the top. When the topmost glass is full, any excess liquid poured will fall equally to the glass immediately to the left and right of it. When..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given two integer arrays pushed and popped each with distinct values, return true if this could have been the result of a sequence of push and pop operations on an initially empty stack, or false otherwise. Example 1: Input: pushed = [1,2,3,4,5], popped = [4,5,3,2,1] Output: true Explanation: We might do the following sequence: push(1), push(2), push(3), push..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file system, convert it to the simplified canonical path. In a Unix-style file system, a period '.' refers to the current directory, a double period '..' refers to the directory up a level, and any multiple consecutive slas..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Example 1: Input: s = "()" Output: true Example 2: In..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the head of a linked list, rotate the list to the right by k places. Example 1: Input: head = [1,2,3,4,5], k = 2 Output: [4,5,1,2,3] Example 2: Input: head = [0,1,2], k = 4 Output: [2,0,1] Constraints: The number of nodes in the list is in the range [0, 500]. -100
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list. You may assume the two numbers do not contain any leading zero, except the number 0 itself. Example 1: Input: l1 = [2,4,3], l2 = [5,6,..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted as well. Example 1: Input: head = [1,2,3,3,4,4,5] Output: [1,2,5] Example 2: Input: head = [1,1,1,2,3] Output: [2,3] Constraints: The number of nodes in the list is in the range [0, 300]. -10..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 2218229) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 2218229 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 앞서서 개인 정보를 다루는 부분을 마무리지었습니다. 이제 원하는 기능을 추가하는 일만 남았는데요, 강의에서는 스터디 관리를 목적으로 둔 애플리케이션을 개발하고 있기 때문에 앞으로 관련 기능을 추가해나갈 예정입니다. 이번 포스팅에..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem An integer array is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same. For example, [1,3,5,7,9], [7,7,7,7], and [3,-1,-5,-9] are arithmetic sequences. Given an integer array nums, return the number of arithmetic subarrays of nums. A subarray is a contiguous subsequence of the arr..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to denote the index of the node that tail's next pointer is connected to. Note that pos is not passed as a p..
- Total
- Today
- Yesterday
- spring boot jwt
- spring boot app
- JPA
- 함께 자라기 후기
- 스프링 부트 튜토리얼
- 스프링 부트 애플리케이션
- 스프링 부트
- Java
- Linux
- Spring Boot Tutorial
- spring boot application
- 함께 자라기
- 스프링부트
- intellij
- leetcode
- 스프링 데이터 jpa
- @ManyToOne
- QueryDSL
- r
- Spring Boot
- proto3
- gRPC
- JSON
- Spring Boot JPA
- 스프링 부트 회원 가입
- 헥사고날 아키텍처
- 알고리즘
- Jackson
- 클린 아키텍처
- Spring Data JPA
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |