-
[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 ..
-
[기록] FireStore 보안 관련개발일지 2023. 1. 25. 16:58
firestore에 rule을 추가하면 client에서 못 불러옴. server에서 admin 계정을 이용해 불러오고 이를 client에서 불러오자. server code 예시. const admin = require('firebase-admin'); const test = async (data) => { const collectionName = data.collectionName; const queries = data.queries; const docRef = admin.firestore().collection(collectionName); let doc = docRef; for (const query of queries) { const [q1, q2, q3] = query; doc = doc.wher..