Leetcode(POTD) OfficialProblem of the Day Custom Sort StringYou are given two strings order and s. All the characters of order are unique and were sorted in some custom order previously.Mar 11Mar 11
Leetcode(POTD) Official2009. Minimum Number of Operations to Make Array ContinuousYou are given an integer array nums. In one operation, you can replace any element in nums with any integer.Oct 10, 2023Oct 10, 2023
Leetcode(POTD) Official34. Find First and Last Position of Element in Sorted ArrayGiven an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.Oct 9, 2023Oct 9, 2023
Leetcode(POTD) Official229. Majority Element IIGiven an integer array of size n, find all elements that appear more thanOct 5, 2023Oct 5, 2023
Leetcode(POTD) Official706. Design HashMapDesign a HashMap without using any built-in hash table libraries.Oct 4, 2023Oct 4, 2023
Leetcode(POTD) Official1512. Number of Good PairsGiven an array of integers nums, return the number of good pairs.Oct 3, 2023Oct 3, 2023
Leetcode(POTD) Official896. Monotonic ArrayAn array is monotonic if it is either monotone increasing or monotone decreasing.Sep 29, 2023Sep 29, 2023
Leetcode(POTD) Official905. Sort Array By ParityGiven an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers.Sep 28, 2023Sep 28, 2023
Leetcode(POTD) Official880. Decoded String at IndexYou are given an encoded string s. To decode the string to a tape, the encoded string is read one character at a time and the following…Sep 27, 2023Sep 27, 2023
Leetcode(POTD) Official735. Asteroid CollisionWe are given an array asteroids of integers representing asteroids in a row.Jul 20, 2023Jul 20, 2023