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

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] 739. Daily Temperatures

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait after the ith day to get a warmer temperature. If there is no future day for which this is possible, keep answer[i] == 0 instead. Example 1: Input: temperatures = [73,74,75,71,69,72,76,73] Output: [1,1,4,..

Algorithm/LeetCode 2021. 11. 14. 10:30
[LeetCode - Daily Challenge] 203. Remove Linked List Elements

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val == val, and return the new head. Example 1: Input: head = [1,2,6,3,4,5,6], val = 6 Output: [1,2,3,4,5] Example 2: Input: head = [], val = 1 Output: [] Example 3: Input: head = [7,7,7,7], val = 7 Output: [] Constraints: The number of nodes in the list ..

Algorithm/LeetCode 2021. 11. 13. 10:30
[LeetCode - Daily Challenge] 1413. Minimum Value to Get Positive Step by Step Sum

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by step sum of startValue plus elements in nums (from left to right). Return the minimum positive value of startValue such that the step by step sum is never less than 1. Example 1: Input: nums = [-3,2,-3,4,2] Output: 5 Explanation: ..

Algorithm/LeetCode 2021. 11. 12. 10:30
[LeetCode - Daily Challenge] 122. Best Time to Buy and Sell Stock II

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary tree, return the sum of all left leaves. Example 1: Input: root = [3,9,20,null,null,15,7] Output: 24 Explanation: There are two left leaves in the binary tree, with values 9 and 15 respectively. Example 2: Input: root = [1] Output: 0 Constraints: The number of nodes in the tree is in the range [1, 1000]. -1000

Algorithm/LeetCode 2021. 11. 11. 10:30
[LeetCode - Daily Challenge] 404. Sum of Left Leaves

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary tree, return the sum of all left leaves. Example 1: Input: root = [3,9,20,null,null,15,7] Output: 24 Explanation: There are two left leaves in the binary tree, with values 9 and 15 respectively. Example 2: Input: root = [1] Output: 0 Constraints: The number of nodes in the tree is in the range [1, 1000]. -1000

Algorithm/LeetCode 2021. 11. 5. 10:30
[LeetCode - Daily Challenge] 129. Sum Root to Leaf Numbers

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given the root of a binary tree containing digits from 0 to 9 only. Each root-to-leaf path in the tree represents a number. For example, the root-to-leaf path 1 -> 2 -> 3 represents the number 123. Return the total sum of all root-to-leaf numbers. Test cases are generated so that the answer will fit in a 32-bit integer. A leaf node is a node with no c..

Algorithm/LeetCode 2021. 11. 3. 18:01
[LeetCode - Daily Challenge] 130. Surrounded Regions

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an m x n matrix board containing 'X' and 'O', capture all regions that are 4-directionally surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrounded region. Example 1: Input: board = [["X","X","X","X"],["X","O","O","X"],["X","X","O","X"],["X","O","X","X"]] Output: [["X","X","X","X"]..

Algorithm/LeetCode 2021. 11. 1. 14:33
[LeetCode - Daily Challenge] 994. Rotting Oranges

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an m x n grid where each cell can have one of three values: 0 representing an empty cell, 1 representing a fresh orange, or 2 representing a rotten orange. Every minute, any fresh orange that is 4-directionally adjacent to a rotten orange becomes rotten. Return the minimum number of minutes that must elapse until no cell has a fresh orange. If t..

Algorithm/LeetCode 2021. 10. 29. 21:14
[LeetCode - Daily Challenge] 15. 3Sum

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. Notice that the solution set must not contain duplicate triplets. Example 1: Input: nums = [-1,0,1,2,-1,-4] Output: [[-1,-1,2],[-1,0,1]] Example 2: Input: nums = [] Output: [] Example 3: Input: nums = [0]..

Algorithm/LeetCode 2021. 10. 29. 04:52
[LeetCode - Daily Challenge] 226. Invert Binary Tree

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the root of a binary tree, invert the tree, and return its root. Example 1: Input: root = [4,2,7,1,3,6,9] Output: [4,7,2,9,6,3,1] Example 2: Input: root = [2,1,3] Output: [2,3,1] Example 3: Input: root = [] Output: [] Constraints: The number of nodes in the tree is in the range [0, 100]. -100

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

티스토리툴바