LeetCode 1748. Sum of Unique Elements
Description https://leetcode.com/problems/sum-of-unique-elements/ You are given an integer array nums. The unique elements of an array are the elements that appear exactly once in…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/sum-of-unique-elements/ You are given an integer array nums. The unique elements of an array are the elements that appear exactly once in…
Description https://leetcode.com/problems/flipping-an-image/ Given an n x n binary matrix image, flip the image horizontally, then invert it, and return the resulting image. To flip an…
Description https://leetcode.com/problems/matrix-diagonal-sum/ Given a square matrix mat, return the sum of the matrix diagonals. Only include the sum of all the elements on…
Description https://leetcode.com/problems/cells-with-odd-values-in-a-matrix/ Given n and m which are the dimensions of a matrix initialized by zeros and given an array indices where indices[i] = [ri, ci]. For…
Description https://leetcode.com/problems/find-numbers-with-even-number-of-digits/ Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums =…
Description https://leetcode.com/problems/intersection-of-three-sorted-arrays/ Given three integer arrays arr1, arr2 and arr3 sorted in strictly increasing order, return a sorted array of only the integers that appeared in all three arrays. Example 1: Input: arr1…
Description https://leetcode.com/problems/count-good-triplets/ Given an array of integers arr, and three integers a, b and c. You need to find the number of good triplets. A…
Description https://leetcode.com/problems/find-anagram-mappings/ Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements…
Description https://leetcode.com/problems/find-the-highest-altitude/ There is a biker going on a road trip. The road trip consists of n + 1 points at different…
Description https://leetcode.com/problems/merge-strings-alternately/ You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a…