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

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)
84. Largest Rectangle in Histogram

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram. Example 1: Input: heights = [2,1,5,6,2,3] Output: 10 Explanation: The above is a histogram where width of each bar is 1. The largest rectangle is shown in the red area, which has an area = ..

Algorithm/LeetCode 2022. 2. 4. 10:30
1672. Richest Customer Wealth

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the i​​​​​​​​​​​th​​​​ customer has in the j​​​​​​​​​​​th​​​​ bank. Return the wealth that the richest customer has. A customer's wealth is the amount of money they have in all their bank accounts. The richest customer is the customer that has the maximum wealth. Exam..

Algorithm/LeetCode 2022. 2. 3. 10:30
211. Design Add and Search Words Data Structure

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Design a data structure that supports adding new words and finding if a string matches any previously added string. Implement the WordDictionary class: WordDictionary() Initializes the object. void addWord(word) Adds word to the data structure, it can be matched later. bool search(word) Returns true if there is any string in the data structure that matches wo..

Algorithm/LeetCode 2022. 2. 1. 10:30
1305. All Elements in Two Binary Search Trees

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given two binary search trees root1 and root2, return a list containing all the integers from both trees sorted in ascending order. Example 1: Input: root1 = [2,1,4], root2 = [1,0,3] Output: [0,1,1,2,3,4] Example 2: Input: root1 = [1,null,8], root2 = [8,1] Output: [1,1,8,8] Constraints: The number of nodes in each tree is in the range [0, 5000]. -10^5 test(Tr..

Algorithm/LeetCode 2022. 1. 31. 10:30
1291. Sequential Digits

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem An integer has sequential digits if and only if each digit in the number is one more than the previous digit. Return a sorted list of all the integers in the range [low, high] inclusive that have sequential digits. Example 1: Input: low = 100, high = 300 Output: [123,234]Example 2: Input: low = 1000, high = 13000 Output: [1234,2345,3456,4567,5678,6789,12345]C..

Algorithm/LeetCode 2022. 1. 30. 10:30
941. Valid Mountain Array

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given an array of integers arr, return true if and only if it is a valid mountain array. Recall that arr is a mountain array if and only if: arr.length >= 3 There exists some i with 0 arr[i + 1] > ... > arr[arr.length - 1] Example 1: Input: arr = [2,1] Output: false Example 2..

Algorithm/LeetCode 2022. 1. 29. 10:30
520. Detect Capital

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem We define the usage of capitals in a word to be right when one of the following cases holds: All letters in this word are capitals, like "USA". All letters in this word are not capitals, like "leetcode". Only the first letter in this word is capital, like "Google". Given a string word, return true if the usage of capitals in it is right. Example 1: Input: wor..

Algorithm/LeetCode 2022. 1. 28. 10:30
1510. Stone Game IV

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Alice and Bob take turns playing a game, with Alice starting first. Initially, there are n stones in a pile. On each player's turn, that player makes a move consisting of removing any non-zero square number of stones in the pile. Also, if a player cannot make a move, he/she loses the game. Given a positive integer n, return true if and only if Alice wins ..

Algorithm/LeetCode 2022. 1. 27. 10:30
134. Gas Station

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from the ith station to its next (i + 1)th station. You begin the journey with an empty tank at one of the gas stations. Given two integer arrays gas and cost, return the startin..

Algorithm/LeetCode 2022. 1. 25. 10:30
875. Koko Eating Bananas

소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in h hours. Koko can decide her bananas-per-hour eating speed of k. Each hour, she chooses some pile of bananas and eats k bananas from that pile. If the pile has less than k bananas, she eats all of them instead and will not eat..

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

티스토리툴바