소스 코드는 여기 있습니다. 문제는 여기 있습니다. 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..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. 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..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list. Example 1: Input: list1 = [1,2,4], list2 = [1,3,4] Output: [1,1,2,3,4,4] Example 2: Input: list1 = [], list2 = [] Output: [] Exam..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an integer array nums. You want to maximize the number of points you get by performing the following operation any number of times: Pick any nums[i] and delete it to earn nums[i] points. Afterwards, you must delete every element equal to nums[i] - 1 and every element equal to nums[i] + 1. Return the maximum number of points you can earn by apply..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A subsequence of a string is a new string that is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (i.e., "ace" is a subsequence of "abcde" while "aec" is not). Example 1:..
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer n, return an array ans of length n + 1 such that for each i (0 1 2 --> 10Example 2: Input: n = 5 Output: [0,1,1,2,1,2] Explanation: 0 --> 0 1 --> 1 2 --> 10 3 --> 11 4 --> 100 5 --> 101Constraints: 0
- Total
- Today
- Yesterday
- Spring Boot
- 스프링 부트 회원 가입
- JSON
- Spring Boot Tutorial
- 클린 아키텍처
- 알고리즘
- 스프링부트
- 함께 자라기
- 함께 자라기 후기
- Spring Boot JPA
- r
- Jackson
- proto3
- Spring Data JPA
- JPA
- QueryDSL
- 스프링 데이터 jpa
- Linux
- 헥사고날 아키텍처
- spring boot application
- leetcode
- spring boot jwt
- 스프링 부트
- 스프링 부트 튜토리얼
- 스프링 부트 애플리케이션
- spring boot app
- Java
- @ManyToOne
- intellij
- gRPC
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |