LeetCode 653. Two Sum IV – Input is a BST
Description https://leetcode.com/problems/two-sum-iv-input-is-a-bst/ Given the root of a Binary Search Tree and a target number k, return true if there exist two elements in the BST…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/two-sum-iv-input-is-a-bst/ Given the root of a Binary Search Tree and a target number k, return true if there exist two elements in the BST…
Description https://leetcode.com/problems/convert-integer-to-the-sum-of-two-no-zero-integers/ Given an integer n. No-Zero integer is a positive integer which doesn’t contain any 0 in its decimal representation. Return a list…
Description https://leetcode.com/problems/maximum-score-after-splitting-a-string/ Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and right substring). The score after…
Description https://leetcode.com/problems/check-if-a-number-is-majority-element-in-a-sorted-array/ Given an array nums sorted in non-decreasing order, and a number target, return True if and only if target is a majority element. A majority element is an element…
Description https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/ Given an array nums of n integers where nums[i] is in the range [1, n], return an array of all the integers in the range [1, n] that…
Description https://leetcode.com/problems/rank-transform-of-an-array/ Given an array of integers arr, replace each element with its rank. The rank represents how large the element…
Description https://leetcode.com/problems/thousand-separator/ Given an integer n, add a dot (“.”) as the thousands separator and return it in string format. Example 1: Input: n…
Description https://leetcode.com/problems/crawler-log-folder/ The Leetcode file system keeps a log each time some user performs a change folder operation. The operations are described…
Description https://leetcode.com/problems/combine-two-tables/ SQL Schema Table: Person +————-+———+ | Column Name | Type | +————-+———+ | PersonId | int | | FirstName…
Description https://leetcode.com/problems/maximum-number-of-balloons/ Given a string text, you want to use the characters of text to form as many instances of the word “balloon” as possible.…