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

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)
  • 방명록

Algorithm/LeetCode (258)
[LeetCode Daily Challenge] 54. Spiral Matrix

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an m x n matrix, return all elements of the matrix in spiral order. Example 1: Input: matrix = [[1,2,3],[4,5,6],[7,8,9]] Output: [1,2,3,6,9,8,7,4,5] Example 2: Input: matrix = [[1,2,3,4],[5,6,7,8],[9,10,11,12]] Output: [1,2,3,4,8,12,11,10,9,5,6,7] Constraints: m == matrix.length n == matrix[i].length 1

Algorithm/LeetCode 2021. 9. 17. 10:30
[LeetCode - Daily Challenge] 978. Longest Turbulent Subarray

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer array arr, return the length of a maximum size turbulent subarray of arr. A subarray is turbulent if the comparison sign flips between each adjacent pair of elements in the subarray. More formally, a subarray [arr[i], arr[i + 1], ..., arr[j]] of arr is said to be turbulent if and only if: For i arr[k + 1] when k is odd, and arr[k] < arr[k + 1..

Algorithm/LeetCode 2021. 9. 16. 19:09
[LeetCode - Daily Challenge] 917. Reverse Only Letters

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a string s, reverse the string according to the following rules: All the characters that are not English letters remain in the same position. All the English letters (lowercase or uppercase) should be reversed. Return s after reversing it. Example 1: Input: s = "ab-cd" Output: "dc-ba"Example 2: Input: s = "a-bC-dEf-ghIj" Output: "j-Ih-gfE-dCba"Example 3..

Algorithm/LeetCode 2021. 9. 15. 10:30
[LeetCode - Daily Challenge] 1189. Maximum Number of Balloons

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given a string text, you want to use the characters of text to form as many instances of the word "balloon" as possible. You can use each character in text at most once. Return the maximum number of instances that can be formed. Example 1: Input: text = "nlaebolko" Output: 1 Example 2: Input: text = "loonbalxballpoon" Output: 2 Example 3: Input: text = "leetc..

Algorithm/LeetCode 2021. 9. 14. 10:58
[LeetCode - Daily Challenge] 764. Largest Plus Sign

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an integer n. You have an n x n binary grid grid with all values initially 1&#39;s except for some indices given in the array mines. The ith element of the array mines is defined as mines[i] = [xi, yi] where grid[xi][yi] == 0. Return the order of the largest axis-aligned plus sign of 1&#39;s contained in grid. If there is none, return 0. An axis..

Algorithm/LeetCode 2021. 9. 10. 10:42
[LeetCode - Daily Challenge] 848. Shifting Letters

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given a string s of lowercase English letters and an integer array shifts of the same length. Call the shift() of a letter, the next letter in the alphabet, (wrapping around so that &#39;z&#39; becomes &#39;a&#39;). For example, shift(&#39;a&#39;) = &#39;b&#39;, shift(&#39;t&#39;) = &#39;u&#39;, and shift(&#39;z&#39;) = &#39;a&#39;. Now for each shift..

Algorithm/LeetCode 2021. 9. 9. 10:30
[LeetCode - Daily Challenge] 206. Reverse Linked List

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: Input: head = [1,2,3,4,5] Output: [5,4,3,2,1]Example 2: Input: head = [1,2] Output: [2,1]Example 3: Input: head = [] Output: []Constraints: The number of nodes in the list is the range [0, 5000]. -5000

Algorithm/LeetCode 2021. 9. 8. 10:45
[LeetCode - Daily Challange] 1629. Slowest Key

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem A newly designed keypad was tested, where a tester pressed a sequence of n keys, one at a time. You are given a string keysPressed of length n, where keysPressed[i] was the ith key pressed in the testing sequence, and a sorted list releaseTimes, where releaseTimes[i] was the time the ith key was released. Both arrays are 0-indexed. The 0th key was pressed at ..

Algorithm/LeetCode 2021. 9. 7. 10:50
[LeetCode] 96. Unique Binary Search Trees (Java)

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer n, return the number of structurally unique BST's (binary search trees) which has exactly n nodes of unique values from 1 to n. Example 1: 1 1 2 3 3 \ \ / \ / / 3 2 1 3 2 1 / \ / \ 2 3 1 2 Input: n = 3 Output: 5 Example 2: Input: n = 1 Output: 1 Constraints: 1

Algorithm/LeetCode 2021. 9. 3. 03:12
[LeetCode - Daily Challenge] 565. Array Nesting

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an integer array nums of length n where nums is a permutation of the numbers in the range [0, n - 1]. You should build a set s[k] = {nums[k], nums[nums[k]], nums[nums[nums[k]]], ... } subjected to the following rule: The first element in s[k] starts with the selection of the element nums[k] of index = k. The next element in s[k] should be nums[n..

Algorithm/LeetCode 2021. 9. 2. 15:52
이전 1 ··· 22 23 24 25 26 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • github
TAG
  • r
  • spring boot app
  • 함께 자라기
  • 알고리즘
  • 함께 자라기 후기
  • Jackson
  • 스프링 부트 회원 가입
  • 스프링 부트
  • 스프링 부트 튜토리얼
  • proto3
  • JPA
  • 클린 아키텍처
  • 스프링 데이터 jpa
  • 스프링 부트 애플리케이션
  • Java
  • Spring Boot JPA
  • intellij
  • Spring Boot
  • spring boot application
  • spring boot jwt
  • Spring Boot Tutorial
  • @ManyToOne
  • Spring Data JPA
  • leetcode
  • gRPC
  • QueryDSL
  • JSON
  • Linux
  • 헥사고날 아키텍처
  • 스프링부트
more
«   2025/08   »
일 월 화 수 목 금 토
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

티스토리툴바