Home
INES
Cancel

LeetCode - 198. House Robber (MJ)

#198. House Robber LeetCode의 Medium등급의 문제이다. 📖Description You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constrai...

LeetCode - 20. Valid Parentheses

[LeetCode] 20. Valid Parentheses LeetCode 20번 문제를 풀어보았다.. Link Problem Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. A...

LeetCode - 1. Two Sum

[LeetCode] 1. Two Sum LeetCode 1번 문제를 풀어보았다.. Link Problem Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assu...

LeetCode - 20. Valid Parentheses (MJ)

#20. Valid Parentheses LeetCode의 Easy단계 문제이다. 지난 시간 백준 9012 괄호 문제의 연장선이라고 생각하면 된다. 📖Description Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the i...

LEET - 20. Valid parantheses

[문제] 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 ...

LeetCode - 841. Keys and Rooms

[LeetCode] 841. Keys and Rooms LeetCode 841번 문제를 풀어보았다.. Link Problem There are n rooms labeled from 0 to n - 1 and all the rooms are locked except for room 0. Your goal is to visit all the room...

LeetCode - 61. Rotate List

[LeetCode] 61. Rotate List LeetCode 61번 문제를 풀어보았다.. Link Problem Given the head of a linked list, rotate the list to the right by k places. Intuition Singly LinkedList를 오른쪽 방향으로 회전시키는 문제이다. 회...

LeetCode - 4. Median of Two Sorted Arrays

[LeetCode] 4. Median of Two Sorted Arrays LeetCode 4번 문제를 풀어보았다.. Link Problem Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. ...

LeetCode - 739. Daily Temperatures (MJ)

#739. Daily Temperatures LeetCode의 Medium난이도의 문제이다. 📖Description Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the numbe...

LeetCode - 739. Daily-Temperatures

[문제] Given an array of integers temperaturesrepresents 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 ...