LeetCode 734. Sentence Similarity
Description https://leetcode.com/problems/sentence-similarity/ We can represent a sentence as an array of words, for example, the sentence “I am happy with leetcode” can be represented…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/sentence-similarity/ We can represent a sentence as an array of words, for example, the sentence “I am happy with leetcode” can be represented…
Description https://leetcode.com/problems/largest-number-at-least-twice-of-others/ You are given an integer array nums where the largest integer is unique. Find whether the largest element in the array…
Description https://leetcode.com/problems/reverse-only-letters/ Given a string S, return the “reversed” string where all characters that are not a letter stay in the same…
Description https://leetcode.com/problems/fix-names-in-a-table/ SQL Schema Table: Users +—————-+———+ | Column Name | Type | +—————-+———+ | user_id | int | | name…
Description https://leetcode.com/problems/shortest-word-distance/ Given an array of strings wordsDict and two different strings that already exist in the array word1 and word2, return the shortest distance between…
Description https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x/ You are given an array nums of non-negative integers. nums is considered special if there exists a number x such that there are exactly x numbers in nums that are greater than…
Description https://leetcode.com/problems/check-if-all-1s-are-at-least-length-k-places-away/ Given an array nums of 0s and 1s and an integer k, return True if all 1’s are at least k places away from each…
Description https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array/ Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than…
Description https://leetcode.com/problems/average-salary-excluding-the-minimum-and-maximum-salary/ Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the average salary of employees excluding the minimum…
Description https://leetcode.com/problems/minimum-value-to-get-positive-step-by-step-sum/ Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by…