소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a collection of numbers, nums, that might contain duplicates, return all possible unique permutations in any order. Example 1: Input: nums = [1,1,2] Output: [[1,1,2], [1,2,1], [2,1,1]]Example 2: Input: nums = [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]Constraints: 1
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary tree, return the sum of values of its deepest leaves. Example 1: Input: root = [1,2,3,4,5,null,6,7,null,null,null,null,8] Output: 15Example 2: Input: root = [6,7,8,2,7,1,3,9,null,1,4,null,null,null,5] Output: 19Constraints: The number of nodes in the tree is in the range [1, 10^4]. 1 test(TreeNode.of(6, 7, 8, 2, 7, 1, 3, 9, null, 1,..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an m x n integers matrix, return the length of the longest increasing path in matrix. From each cell, you can either move in four directions: left, right, up, or down. You may not move diagonally or move outside the boundary (i.e., wrap-around is not allowed). Example 1: Input: matrix = [[9,9,4],[6,6,8],[2,1,1]] Output: 4 Explanation: The longest increa..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 020e464) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 020e464 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 삭제 기능을 구현합니다. 엔드포인트 추가 모임 취소 버튼에 매핑되는 엔드포인트를 EventController에 추가합니다. /src/main/java/io/lcalmsky/app/event/endpoint/EventCont..
GitHub markdown에서 수학 표현식 렌더링을 제공합니다. (2022년 5월 19일부터!) LaTeX 문법으로 inline 또는 code block 형태로 작성할 수 있습니다. block으로 사용 주변 텍스트와 별개로 수학 표현식을 추가하기 위해 사용합니다. $$로 새로운 라인을 시작하면 수학 표현식으로 인식합니다. 아래 처럼 입력했을 경우, **The Cauchy-Schwarz Inequality** $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$ 이렇게 표시됩니다. inline으로 사용 텍스트 중간에 수학식을 입력해야 할 경우 $를 사용합..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an n x n binary matrix grid, return the length of the shortest clear path in the matrix. If there is no clear path, return -1. A clear path in a binary matrix is a path from the top-left cell (i.e., (0, 0)) to the bottom-right cell (i.e., (n - 1, n - 1)) such that: All the visited cells of the path are 0. All the adjacent cells of the path are 8-directi..
본 포스팅은 백기선님의 스프링과 JPA 기반 웹 애플리케이션 개발 강의를 참고하여 작성하였습니다. 소스 코드는 여기 있습니다. (commit hash: 0f966b5) > git clone https://github.com/lcalmsky/spring-boot-app.git > git checkout 0f966b5 ℹ️ squash merge를 사용해 기존 branch를 삭제하기로 하여 앞으로는 commit hash로 포스팅 시점의 소스 코드를 공유할 예정입니다. Overview 모임 수정 기능을 구현합니다. 모집 수정 기능 중 제약을 두어야 할 것들이 있습니다. 선착순과 관리자 승인 두 가지의 성격이 너무 다르기 때문에 모집 방법은 수정할 수 없습니다. 그리고 모집 인원은 확정된 참가 신청 수 보다는 ..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given a network of n nodes, labeled from 1 to n. You are also given times, a list of travel times as directed edges times[i] = (ui, vi, wi), where ui is the source node, vi is the target node, and wi is the time it takes for a signal to travel from source to target. We will send a signal from a given node k. Return the time it takes for all the n node..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers. Return any array that satisfies this condition. Example 1: Input: nums = [3,1,2,4] Output: [2,4,3,1] Explanation: The outputs [4,2,3,1], [2,4,1,3], and [4,2,1,3] would also be accepted.Example 2: Input: nums = [0] Output: [0]Constraints: 1
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given a string s and an integer k, a k duplicate removal consists of choosing k adjacent and equal letters from s and removing them, causing the left and the right side of the deleted substring to concatenate together. We repeatedly make k duplicate removals on s until we no longer can. Return the final string after all such duplicate removals have be..
- Total
- Today
- Yesterday
- 스프링 부트 애플리케이션
- JSON
- 함께 자라기
- spring boot app
- 함께 자라기 후기
- 스프링 부트 회원 가입
- spring boot application
- spring boot jwt
- JPA
- 헥사고날 아키텍처
- 스프링 부트
- gRPC
- @ManyToOne
- proto3
- 스프링 데이터 jpa
- 알고리즘
- Linux
- intellij
- 클린 아키텍처
- Spring Boot Tutorial
- Spring Boot JPA
- QueryDSL
- r
- Jackson
- leetcode
- 스프링 부트 튜토리얼
- Java
- Spring Data JPA
- Spring Boot
- 스프링부트
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |