LeetCode 1394. Find Lucky Integer in an Array
Description https://leetcode.com/problems/find-lucky-integer-in-an-array/ Given an array of integers arr, a lucky integer is an integer which has a frequency in the array…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/find-lucky-integer-in-an-array/ Given an array of integers arr, a lucky integer is an integer which has a frequency in the array…
Description https://leetcode.com/problems/fixed-point/ Given an array of distinct integers arr, where arr is sorted in ascending order, return the smallest index i that satisfies arr[i] == i. If…
Description https://leetcode.com/problems/n-repeated-element-in-size-2n-array/ In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element…
Description https://leetcode.com/problems/keyboard-row/ Given an array of strings words, return the words that can be typed using letters of the alphabet on only…
Description https://leetcode.com/problems/the-k-weakest-rows-in-a-matrix/ You are given an m x n binary matrix mat of 1‘s (representing soldiers) and 0‘s (representing civilians). The soldiers are positioned in front of the…
Description https://leetcode.com/problems/reformat-date/ Given a date string in the form Day Month Year, where: Day is in the set {“1st”, “2nd”, “3rd”, “4th”, …, “30th”, “31st”}.…
Description https://leetcode.com/problems/transpose-matrix/ Given a 2D integer array matrix, return the transpose of matrix. The transpose of a matrix is the matrix flipped over its main diagonal, switching…
Description https://leetcode.com/problems/three-consecutive-odds/ Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false. Example 1:…
Description https://leetcode.com/problems/duplicate-emails/ SQL Schema Write a SQL query to find all duplicate emails in a table named Person. +—-+———+ | Id…
Description https://leetcode.com/problems/average-of-levels-in-binary-tree/ Given the root of a binary tree, return the average value of the nodes on each level in the form of…