Day 7 of 30 days Leetcode challenge
Counting Element Given an integer array arr, count element x such that x + 1 is also in arr. If th ...
Counting Element Given an integer array arr, count element x such that x + 1 is also in arr. If th ...
Group Anagrams Given an array of strings, group anagrams together. Example: Input: ["eat&quo ...
Best Time to Buy and Sell Stock II Say you have an array for which the ith element is the price of ...
Move Zeros Given an array nums, write a function to move all 0's to the end of it while maintaining ...
Maximum Subarray Given an integer array nums, find the contiguous subarray (containing at least one ...
Happy Number Write an algorithm to determine if a number is "happy". A happy number is a number def ...
Single Number Given a non-empty array of integers, every element appears twice except for one. Find ...
Quy hoạch động - nghe có vẻ hàn lâm nhỉ. Đa phần tài liệu tiếng Việt mình đọc qua đều khó hiểu, nào ...