일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Depth-first Search
- recursive
- binary search
- binary tree
- Python
- Binary
- tree
- dfs
- 미디움
- 쉬움
- hash table
- linked list
- math
- string
- list
- backtracking
- 문자열
- HashTable
- easy
- leetcode
- 리트코드
- sorting
- DP
- two pointers
- 이진트리
- Medium
- 재귀
- Array
- 중간
- matrix
- Today
- Total
목록leetcode (78)
부부의 코딩 성장 일기
1. 문제 링크 https://leetcode.com/problems/ransom-note/ Ransom Note - LeetCode Can you solve this real interview question? Ransom Note - Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from magazine and false otherwise. Each letter in magazine can only be used once in ranso leetcode.com 2. 문제 설명 두 문자열 ransomNote, magazine이 주어졌을 때 magazine의..
1. 문제 링크 https://leetcode.com/problems/guess-number-higher-or-lower/ Guess Number Higher or Lower - LeetCode Can you solve this real interview question? Guess Number Higher or Lower - We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wrong, I will tell you whether the leetcode.com 2. 문제 설명 1에서 부터 n까지 ..

1. 문제 링크 https://leetcode.com/problems/valid-perfect-square/description/ Valid Perfect Square - LeetCode Can you solve this real interview question? Valid Perfect Square - Given a positive integer num, return true if num is a perfect square or false otherwise. A perfect square is an integer that is the square of an integer. In other words, it is the product o leetcode.com 2. 문제 설명 양의 정수 num이 주어졌..
1. 문제 링크 https://leetcode.com/problems/intersection-of-two-arrays-ii/description/ Intersection of Two Arrays II - LeetCode Can you solve this real interview question? Intersection of Two Arrays II - Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must appear as many times as it shows in both arrays and you may return leetcode.com 2. 문제 ..
1. 문제 링크 https://leetcode.com/problems/single-number-ii/description/ Single Number II - LeetCode Can you solve this real interview question? Single Number II - Given an integer array nums where every element appears three times except for one, which appears exactly once. Find the single element and return it. You must implement a solution with a lin leetcode.com 2. 문제 설명 정수로 구성된 array nums가 주어졌을..
1. 문제 링크 https://leetcode.com/problems/palindrome-partitioning/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 2. 문제 설명 문자열 s가 주어졌을 때, 모든 substring이 palindrome하도록 s를 partition하라. 여기서 palindrome이란, 문자열을 거꾸로 해도, ..
1. 문제 링크 https://leetcode.com/problems/nim-game/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 2. 문제 설명 Nim Game 규칙 table에 돌무더기가 있다고 가정했을 때, 나와 나의 친구가 번갈아가면서 차례가 오고, 나 먼저 시작한다. 각 차례에서, 1~3개의 돌을 무더기에서 제외할 수 있고,..
1. 문제 링크 https://leetcode.com/problems/word-pattern/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 2. 문제 설명 pattern과 문자열 s가 주어졌을 때, s가 같은 pattern을 따르는지를 True or False로 반환 여기서 같은 패턴이다의 의미는, pattern과 s가 "bijecti..