LeetCode 771. Jewels and Stones
Description https://leetcode.com/problems/jewels-and-stones/ You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/jewels-and-stones/ You’re given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is…
Description https://leetcode.com/problems/cracking-the-safe/ There is a box protected by a password. The password is a sequence of n digits where each digit can be…
Description https://leetcode.com/problems/expressive-words/ Sometimes people repeat letters to represent extra feeling, such as “hello” -> “heeellooo”, “hi” -> “hiiii”. In these…
Description https://leetcode.com/problems/odd-even-jump/ You are given an integer array A. From some starting index, you can make a series of jumps. The…
Description https://leetcode.com/problems/maximize-distance-to-closest-person/ You are given an array representing a row of seats where seats[i] = 1 represents a person sitting in the ith seat, and seats[i] =…
Description https://leetcode.com/problems/isomorphic-strings/ Given two strings s and t, determine if they are isomorphic. Two strings s and t are isomorphic if the characters in s can be replaced to get t.…
Description https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/ On a 2D plane, we place stones at some integer coordinate points. Each coordinate point may have at…
Description https://leetcode.com/problems/count-complete-tree-nodes/ Given the root of a complete binary tree, return the number of the nodes in the tree. According to Wikipedia, every level, except…
Description https://leetcode.com/problems/coordinate-with-maximum-network-quality/ You are given an array of network towers towers and an integer radius, where towers[i] = [xi, yi, qi] denotes the ith network tower with…
Description https://leetcode.com/problems/mean-of-array-after-removing-some-elements/ Given an integer array arr, return the mean of the remaining integers after removing the smallest 5% and the largest 5% of the elements.…