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.4 min read·Mar 11, 2024----
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.2 min read·Oct 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.3 min read·Oct 9, 2023----
Leetcode(POTD) Official229. Majority Element IIGiven an integer array of size n, find all elements that appear more than2 min read·Oct 5, 2023----
Leetcode(POTD) Official706. Design HashMapDesign a HashMap without using any built-in hash table libraries.2 min read·Oct 4, 2023----
Leetcode(POTD) Official1512. Number of Good PairsGiven an array of integers nums, return the number of good pairs.2 min read·Oct 3, 2023----
Leetcode(POTD) Official896. Monotonic ArrayAn array is monotonic if it is either monotone increasing or monotone decreasing.2 min read·Sep 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.2 min read·Sep 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…2 min read·Sep 27, 2023----
Leetcode(POTD) Official735. Asteroid CollisionWe are given an array asteroids of integers representing asteroids in a row.3 min read·Jul 20, 2023----