leetcode
-
[LeetCode] 606.Construct String from Binary TreeLeetCode 2023. 12. 8. 13:32
https://leetcode.com/problems/construct-string-from-binary-tree Construct String from Binary Tree - LeetCode Can you solve this real interview question? Construct String from Binary Tree - Given the root of a binary tree, construct a string consisting of parenthesis and integers from a binary tree with the preorder traversal way, and return it. Omit all the empty leetcode.com 606.Construct Strin..
-
[LeetCode] 1662. Check If Two String Arrays are EquivalentLeetCode 2023. 12. 1. 17:05
https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent Check If Two String Arrays are Equivalent - LeetCode Can you solve this real interview question? Check If Two String Arrays are Equivalent - Given two string arrays word1 and word2, return true if the two arrays represent the same string, and false otherwise. A string is represented by an array if the array leetcode.com 1662..
-
[LeetCode] 1611. Minimum One Bit Operations to Make Integers ZeroLeetCode 2023. 11. 30. 18:00
https://leetcode.com/problems/minimum-one-bit-operations-to-make-integers-zero/description/?envType=daily-question&envId=2023-11-30 Minimum One Bit Operations to Make Integers Zero - LeetCode Can you solve this real interview question? Minimum One Bit Operations to Make Integers Zero - Given an integer n, you must transform it into 0 using the following operations any number of times: * Change t..
-
[LeetCode] 695. Max Area of IslandLeetCode 2023. 11. 29. 14:27
https://leetcode.com/problems/max-area-of-island/description/ Max Area of Island - LeetCode Can you solve this real interview question? Max Area of Island - You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are su leetcode.com 695. Max Area of Island - Medium 0과 ..
-
[LeetCode] 2147. Number of Ways to Divide a long CorridorLeetCode 2023. 11. 28. 12:06
https://leetcode.com/problems/number-of-ways-to-divide-a-long-corridor/description/?envType=daily-question&envId=2023-11-28 Number of Ways to Divide a Long Corridor - LeetCode Can you solve this real interview question? Number of Ways to Divide a Long Corridor - Along a long library corridor, there is a line of seats and decorative plants. You are given a 0-indexed string corridor of length n co..
-
[LeetCode] 935. Knight DialerLeetCode 2023. 11. 27. 16:30
https://leetcode.com/problems/knight-dialer/description/?envType=daily-question&envId=2023-11-27 Knight Dialer - LeetCode Can you solve this real interview question? Knight Dialer - The chess knight has a unique movement, it may move two squares vertically and one square horizontally, or two squares horizontally and one square vertically (with both forming the shape of an L) leetcode.com Knight ..
-
[LeetCode] 567. Permutation in StringLeetCode 2022. 2. 11. 11:13
https://leetcode.com/problems/permutation-in-string/ Permutation in String - LeetCode 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 Permutation in String - Medium s2 속에 s1의 permutation이 포함되어 있는지 구하는 문제다 여기서 permutation은 s1의 알파벳을 아무렇게나 배열한것을 의미한다. permutation을 파악하면 되므로 s1에 포함된 알파벳들의 수를 저장해..