2.01 Mảng (Array)

STTTiêu đềLời giảiĐộ khóĐộ phức tạp thời gianĐộ phức tạp bộ nhớYêu thíchTỷ lệ AC (Acceptance)
0001Tổng 2 số (Two Sum)GoEasyO(n)O(n)49.7%
0004Trung vị của hai mảng đã sắp xếp (Median of Two Sorted Arrays)GoHard36.2%
0011Thùng chứa nhiều nước nhất (Container With Most Water)GoMediumO(n)O(1)54.0%
0015Tổng 3 số (3Sum)GoMediumO(n^2)O(n)❤️32.6%
0016Tổng 3 số gần nhất (3Sum Closest)GoMediumO(n^2)O(1)❤️45.7%
0018Tổng 4 số (4Sum)GoMediumO(n^3)O(n^2)❤️35.9%
0026Xóa phần tử trùng trong mảng đã sắp xếp (Remove Duplicates from Sorted Array)GoEasyO(n)O(1)51.6%
0027Xóa phần tử (Remove Element)GoEasyO(n)O(1)53.0%
0031Hoán vị kế tiếp (Next Permutation)GoMedium37.6%
0033Tìm kiếm trong mảng đã sắp xếp bị xoay (Search in Rotated Sorted Array)GoMedium39.0%
0034Tìm vị trí đầu và cuối của phần tử trong mảng đã sắp xếp (Find First and Last Position of Element in Sorted Array)GoMedium41.9%
0035Vị trí chèn (Search Insert Position)GoEasy43.4%
0036Sudoku hợp lệ (Valid Sudoku)GoMedium58.1%
0037Giải Sudoku (Sudoku Solver)GoHard57.7%
0039Tổng tổ hợp (Combination Sum)GoMediumO(n log n)O(n)68.6%
0040Tổng tổ hợp II (Combination Sum II)GoMediumO(n log n)O(n)53.4%
0041Số dương nhỏ nhất bị thiếu (First Missing Positive)GoHardO(n)O(n)36.7%
0042Hứng nước mưa (Trapping Rain Water)GoHardO(n)O(1)❤️59.3%
0045Trò chơi nhảy II (Jump Game II)GoMedium39.8%
0046Hoán vị (Permutations)GoMedium75.7%
0047Hoán vị II (Permutations II)GoMedium57.4%
0048Xoay ảnh (Rotate Image)GoMediumO(n)O(1)71.0%
0049Nhóm các từ đảo chữ (Group Anagrams)GoMedium66.8%
0051Bài toán N quân hậu (N-Queens)GoHard64.2%
0053Mảng con lớn nhất (Maximum Subarray)GoMediumO(n)O(n)50.2%
0054Ma trận xoắn ốc (Spiral Matrix)GoMediumO(n)O(n^2)45.0%
0055Trò chơi nhảy (Jump Game)GoMedium38.9%
0056Gộp các đoạn (Merge Intervals)GoMediumO(n log n)O(1)46.2%
0057Chèn đoạn (Insert Interval)GoMediumO(n)O(1)39.0%
0059Ma trận xoắn ốc II (Spiral Matrix II)GoMediumO(n)O(n^2)67.4%
0063Số đường đi duy nhất II (Unique Paths II)GoMediumO(n^2)O(n^2)39.4%
0064Tổng đường đi nhỏ nhất (Minimum Path Sum)GoMediumO(n^2)O(n^2)62.0%
0066Cộng một (Plus One)GoEasy43.7%
0073Đặt số 0 cho ma trận (Set Matrix Zeroes)GoMedium51.3%
0074Tìm kiếm trong ma trận 2D (Search a 2D Matrix)GoMedium47.7%
0075Sắp xếp màu (Sort Colors)GoMediumO(n)O(1)❤️58.6%
0078Các tập con (Subsets)GoMediumO(n^2)O(n)❤️74.9%
0079Tìm từ (Word Search)GoMediumO(n^2)O(n^2)❤️40.2%
0080Xóa phần tử trùng trong mảng đã sắp xếp II (Remove Duplicates from Sorted Array II)GoMediumO(n)O(1)52.3%
0081Tìm kiếm trong mảng đã sắp xếp bị xoay II (Search in Rotated Sorted Array II)GoMedium35.7%
0084Hình chữ nhật lớn nhất trong histogram (Largest Rectangle in Histogram)GoHardO(n)O(n)❤️42.6%
0088Trộn mảng đã sắp xếp (Merge Sorted Array)GoEasyO(n)O(1)❤️46.6%
0090Các tập con II (Subsets II)GoMediumO(n^2)O(n)❤️55.9%
0105Xây dựng cây nhị phân từ duyệt tiền thứ tự và trung thứ tự (Construct Binary Tree from Preorder and Inorder Traversal)GoMedium61.6%
0106Xây dựng cây nhị phân từ duyệt trung thứ tự và hậu thứ tự (Construct Binary Tree from Inorder and Postorder Traversal)GoMedium60.0%
0108Chuyển mảng đã sắp xếp thành cây nhị phân tìm kiếm (Convert Sorted Array to Binary Search Tree)GoEasy69.9%
0118Tam giác Pascal (Pascal's Triangle)GoEasy70.8%
0119Tam giác Pascal II (Pascal's Triangle II)GoEasy60.8%
0120Tam giác (Triangle)GoMediumO(n^2)O(n)54.5%
0121Thời điểm tốt nhất để mua và bán cổ phiếu (Best Time to Buy and Sell Stock)GoEasyO(n)O(1)54.3%
0122Thời điểm tốt nhất để mua và bán cổ phiếu II (Best Time to Buy and Sell Stock II)GoMediumO(n)O(1)63.9%
0128Dãy liên tiếp dài nhất (Longest Consecutive Sequence)GoMedium48.5%
0130Vùng bị bao quanh (Surrounded Regions)GoMedium36.8%
0135Kẹo (Candy)GoHard41.0%
0136Số duy nhất (Single Number)GoEasy70.7%
0137Số duy nhất II (Single Number II)GoMedium58.5%
0150Tính biểu thức ký pháp Ba Lan ngược (Evaluate Reverse Polish Notation)GoMedium45.8%
0152Tích lớn nhất của mảng con (Maximum Product Subarray)GoMediumO(n)O(1)34.9%
0153Tìm giá trị nhỏ nhất trong mảng đã sắp xếp bị xoay (Find Minimum in Rotated Sorted Array)GoMedium48.9%
0154Tìm giá trị nhỏ nhất trong mảng đã sắp xếp bị xoay II (Find Minimum in Rotated Sorted Array II)GoHard43.5%
0162Tìm phần tử đỉnh (Find Peak Element)GoMedium46.0%
0164Khoảng cách lớn nhất (Maximum Gap)GoHard43.4%
0167Hai tổng II - Mảng đầu vào đã sắp xếp (Two Sum II - Input Array Is Sorted)GoMediumO(n)O(1)60.0%
0169Phần tử chiếm đa số (Majority Element)GoEasy63.9%
0174Trò chơi hầm ngục (Dungeon Game)GoHard37.5%
0179Số lớn nhất (Largest Number)GoMedium34.6%
0189Xoay mảng (Rotate Array)GoMedium39.4%
0198Kẻ trộm nhà (House Robber)GoMedium49.4%
0200Số lượng hòn đảo (Number of Islands)GoMedium57.0%
0204Đếm số nguyên tố (Count Primes)GoMedium33.1%
0209Tổng mảng con tối thiểu đạt ngưỡng (Minimum Size Subarray Sum)GoMediumO(n)O(1)45.0%
0212Tìm từ II (Word Search II)GoHard36.4%
0213Kẻ trộm nhà II (House Robber II)GoMedium41.0%
0215Phần tử lớn thứ K trong mảng (Kth Largest Element in an Array)GoMedium66.2%
0216Tổng tổ hợp III (Combination Sum III)GoMediumO(n)O(1)❤️67.6%
0217Có phần tử trùng (Contains Duplicate)GoEasyO(n)O(n)61.4%
0218Bài toán đường chân trời (The Skyline Problem)GoHard41.9%
0219Có phần tử trùng II (Contains Duplicate II)GoEasyO(n)O(n)42.6%
0220Có phần tử trùng III (Contains Duplicate III)GoHard22.1%
0228Tóm tắt các đoạn (Summary Ranges)GoEasy47.2%
0229Phần tử chiếm đa số II (Majority Element II)GoMedium45.1%
0239Giá trị lớn nhất của cửa sổ trượt (Sliding Window Maximum)GoHard46.3%
0240Tìm kiếm trong ma trận 2D II (Search a 2D Matrix II)GoMedium51.0%
0260Số duy nhất III (Single Number III)GoMedium67.7%
0268Số bị thiếu (Missing Number)GoEasy62.6%
0274Chỉ số H (H-Index)GoMedium38.3%
0275Chỉ số H II (H-Index II)GoMedium37.5%
0283Dồn các số 0 về cuối (Move Zeroes)GoEasyO(n)O(1)61.4%
0284Bộ lặp nhìn trước (Peeking Iterator)GoMedium58.7%
0287Tìm số bị lặp (Find the Duplicate Number)GoMediumO(n)O(1)❤️59.1%
0300Dãy con tăng dần dài nhất (Longest Increasing Subsequence)GoMedium52.2%
0303Truy vấn tổng đoạn - bất biến (Range Sum Query - Immutable)GoEasy59.5%
0304Truy vấn tổng đoạn 2D - bất biến (Range Sum Query 2D - Immutable)GoMedium52.9%
0307Truy vấn tổng đoạn - có thể thay đổi (Range Sum Query - Mutable)GoMedium40.7%
0309Thời điểm tốt nhất mua/bán cổ phiếu có thời gian nghỉ (Best Time to Buy and Sell Stock with Cooldown)GoMedium56.2%
0315Đếm số nhỏ hơn ở phía sau (Count of Smaller Numbers After Self)GoHard42.6%
0318Tích lớn nhất của độ dài từ (Maximum Product of Word Lengths)GoMedium59.9%
0322Đổi tiền (Coin Change)GoMedium42.1%
0324Sắp xếp lắc lư II (Wiggle Sort II)GoMedium33.3%
0327Đếm tổng đoạn (Count of Range Sum)GoHard35.8%
0329Đường đi tăng dần dài nhất trong ma trận (Longest Increasing Path in a Matrix)GoHard52.4%
0347Top K phần tử xuất hiện nhiều nhất (Top K Frequent Elements)GoMedium64.2%
0349Giao của hai mảng (Intersection of Two Arrays)GoEasy70.9%
0350Giao của hai mảng II (Intersection of Two Arrays II)GoEasy56.0%
0354Phong bì búp bê Nga (Russian Doll Envelopes)GoHard37.9%
0368Tập con chia hết lớn nhất (Largest Divisible Subset)GoMedium41.6%
0373Tìm K cặp có tổng nhỏ nhất (Find K Pairs with Smallest Sums)GoMedium38.3%
0376Dãy con lắc lư (Wiggle Subsequence)GoMedium48.3%
0377Tổng tổ hợp IV (Combination Sum IV)GoMedium52.2%
0378Phần tử nhỏ thứ K trong ma trận đã sắp xếp (Kth Smallest Element in a Sorted Matrix)GoMedium61.8%
0384Xáo trộn mảng (Shuffle an Array)GoMedium57.8%
0391Hình chữ nhật hoàn hảo (Perfect Rectangle)GoHard32.8%
0393Xác thực UTF-8 (UTF-8 Validation)GoMedium45.1%
0396Hàm xoay (Rotate Function)GoMedium41.1%
0399Tính giá trị phép chia (Evaluate Division)GoMedium59.7%
0410Chia mảng để tổng lớn nhất nhỏ nhất (Split Array Largest Sum)GoHard53.5%
0413Các đoạn số học (Arithmetic Slices)GoMedium65.1%
0414Số lớn thứ ba (Third Maximum Number)GoEasy33.2%
0416Chia tập con có tổng bằng nhau (Partition Equal Subset Sum)GoMedium46.3%
0417Dòng chảy Thái Bình Dương - Đại Tây Dương (Pacific Atlantic Water Flow)GoMedium54.4%
0419Chiến hạm trên bảng (Battleships in a Board)GoMedium74.8%
0421XOR lớn nhất của hai số trong mảng (Maximum XOR of Two Numbers in an Array)GoMedium54.0%
0435Các đoạn không chồng lấp (Non-overlapping Intervals)GoMedium50.3%
0436Tìm đoạn bên phải (Find Right Interval)GoMedium50.8%
0447Số lượng boomerang (Number of Boomerangs)GoMedium54.9%
0448Tìm tất cả số biến mất trong mảng (Find All Numbers Disappeared in an Array)GoEasy59.9%
0453Số bước tối thiểu để làm các phần tử bằng nhau (Minimum Moves to Equal Array Elements)GoMedium56.0%
0454Tổng 4 số II (4Sum II)GoMedium57.2%
0455Phân phát bánh quy (Assign Cookies)GoEasy49.9%
0456Mẫu 132 (132 Pattern)GoMedium32.4%
0457Vòng lặp mảng vòng tròn (Circular Array Loop)GoMedium32.6%
0462Số bước tối thiểu để làm các phần tử bằng nhau II (Minimum Moves to Equal Array Elements II)GoMedium60.0%
0463Chu vi đảo (Island Perimeter)GoEasy69.7%
0473Diêm que tạo hình vuông (Matchsticks to Square)GoMedium40.2%
0474Số một và số không (Ones and Zeroes)GoMedium46.8%
0475Máy sưởi (Heaters)GoMedium36.5%
0477Tổng khoảng cách Hamming (Total Hamming Distance)GoMedium52.2%
0480Trung vị cửa sổ trượt (Sliding Window Median)GoHard41.1%
0485Số 1 liên tiếp tối đa (Max Consecutive Ones)GoEasy56.6%
0491Các dãy con không giảm (Non-decreasing Subsequences)GoMedium60.2%
0493Cặp đảo ngược (Reverse Pairs)GoHard30.9%
0494Tổng mục tiêu (Target Sum)GoMedium45.7%
0495Teemo tấn công (Teemo Attacking)GoEasy56.8%
0496Phần tử lớn hơn tiếp theo I (Next Greater Element I)GoEasy71.4%
0497Điểm ngẫu nhiên trong các hình chữ nhật không chồng lấp (Random Point in Non-overlapping Rectangles)GoMedium39.4%
0498Duyệt theo đường chéo (Diagonal Traverse)GoMedium58.3%
0500Hàng phím (Keyboard Row)GoEasy69.6%
0503Phần tử lớn hơn tiếp theo II (Next Greater Element II)GoMedium63.2%
0506Xếp hạng tương đối (Relative Ranks)GoEasy60.6%
0518Đổi tiền II (Coin Change II)GoMedium60.6%
0523Tổng mảng con liên tiếp (Continuous Subarray Sum)GoMedium28.5%
0524Từ dài nhất trong từ điển bằng cách xóa (Longest Word in Dictionary through Deleting)GoMedium51.0%
0525Mảng liền kề (Contiguous Array)GoMedium46.8%
0526Sắp xếp đẹp (Beautiful Arrangement)GoMedium64.4%
0528Chọn ngẫu nhiên theo trọng số (Random Pick with Weight)GoMedium46.1%
0529Dò mìn (Minesweeper)GoMedium65.7%
0532Các cặp K-diff trong mảng (K-diff Pairs in an Array)GoMediumO(n)O(n)41.2%
0540Phần tử duy nhất trong mảng đã sắp xếp (Single Element in a Sorted Array)GoMedium59.1%
0542Ma trận 01 (01 Matrix)GoMedium44.8%
0554Bức tường gạch (Brick Wall)GoMedium53.6%
0560Tổng mảng con bằng K (Subarray Sum Equals K)GoMedium43.7%
0561Chia mảng (Array Partition)GoEasy77.2%
0566Định hình lại ma trận (Reshape the Matrix)GoEasyO(n^2)O(n^2)62.9%
0575Phân phát kẹo (Distribute Candies)GoEasy66.5%
0581Mảng con liên tục chưa sắp xếp ngắn nhất (Shortest Unsorted Continuous Subarray)GoMedium36.4%
0594Dãy con hài hòa dài nhất (Longest Harmonious Subsequence)GoEasy53.5%
0598Cộng đoạn II (Range Addition II)GoEasy55.3%
0599Tổng chỉ số nhỏ nhất của hai danh sách (Minimum Index Sum of Two Lists)GoEasy53.4%
0605Có thể trồng hoa (Can Place Flowers)GoEasy32.8%
0609Tìm tệp trùng lặp trong hệ thống (Find Duplicate File in System)GoMedium67.7%
0611Số tam giác hợp lệ (Valid Triangle Number)GoMedium50.6%
0622Thiết kế hàng đợi vòng tròn (Design Circular Queue)GoMedium51.5%
0628Tích lớn nhất của ba số (Maximum Product of Three Numbers)GoEasyO(n)O(1)45.9%
0630Lịch trình khóa học III (Course Schedule III)GoHard40.1%
0632Khoảng nhỏ nhất bao phủ phần tử từ K danh sách (Smallest Range Covering Elements from K Lists)GoHard61.0%
0636Thời gian độc quyền của các hàm (Exclusive Time of Functions)GoMedium61.2%
0638Ưu đãi mua sắm (Shopping Offers)GoMedium53.3%
0643Trung bình lớn nhất của mảng con I (Maximum Average Subarray I)GoEasy43.7%
0645Sai lệch tập hợp (Set Mismatch)GoEasy42.7%
0648Thay thế từ (Replace Words)GoMedium62.7%
0658Tìm K phần tử gần nhất (Find K Closest Elements)GoMedium46.8%
0661Làm mượt ảnh (Image Smoother)GoEasy55.4%
0665Mảng không giảm (Non-decreasing Array)GoMedium24.3%
0667Sắp xếp đẹp II (Beautiful Arrangement II)GoMedium59.8%
0674Dãy con tăng liên tục dài nhất (Longest Continuous Increasing Subsequence)GoEasy49.3%
0682Trò chơi bóng chày (Baseball Game)GoEasy74.3%
0695Diện tích đảo lớn nhất (Max Area of Island)GoMedium71.8%
0697Bậc của một mảng (Degree of an Array)GoEasy56.0%
0699Các hình vuông rơi xuống (Falling Squares)GoHard44.7%
0704Tìm kiếm nhị phân (Binary Search)GoEasy56.1%
0705Thiết kế HashSet (Design HashSet)GoEasy65.6%
0706Thiết kế HashMap (Design HashMap)GoEasy64.7%
0710Chọn ngẫu nhiên với danh sách đen (Random Pick with Blacklist)GoHard33.5%
0713Tích mảng con nhỏ hơn K (Subarray Product Less Than K)GoMediumO(n)O(1)45.8%
0714Thời điểm tốt nhất mua/bán cổ phiếu có phí giao dịch (Best Time to Buy and Sell Stock with Transaction Fee)GoMediumO(n)O(1)65.2%
0717Ký tự 1-bit và 2-bit (1-bit and 2-bit Characters)GoEasy45.7%
0718Độ dài tối đa của mảng con lặp lại (Maximum Length of Repeated Subarray)GoMedium51.3%
0719Tìm khoảng cách cặp nhỏ nhất thứ K (Find K-th Smallest Pair Distance)GoHard36.7%
0720Từ dài nhất trong từ điển (Longest Word in Dictionary)GoMedium52.0%
0721Gộp tài khoản (Accounts Merge)GoMedium56.3%
0724Tìm chỉ số trụ (Find Pivot Index)GoEasy54.7%
0733Tô màu loang (Flood Fill)GoEasy62.0%
0735Va chạm tiểu hành tinh (Asteroid Collision)GoMedium44.4%
0739Nhiệt độ hằng ngày (Daily Temperatures)GoMedium66.3%
0744Tìm chữ cái nhỏ nhất lớn hơn mục tiêu (Find Smallest Letter Greater Than Target)GoEasy45.8%
0746Chi phí tối thiểu leo cầu thang (Min Cost Climbing Stairs)GoEasyO(n)O(1)63.2%
0747Số lớn nhất ít nhất gấp đôi các số còn lại (Largest Number At Least Twice of Others)GoEasy47.1%
0748Từ hoàn chỉnh ngắn nhất (Shortest Completing Word)GoEasy59.3%
0752Mở khóa (Open the Lock)GoMedium55.6%
0766Ma trận Toeplitz (Toeplitz Matrix)GoEasyO(n)O(1)68.6%
0775Đảo ngược toàn cục và cục bộ (Global and Local Inversions)GoMedium43.3%
0778Bơi trong nước dâng (Swim in Rising Water)GoHard59.8%
0781Thỏ trong rừng (Rabbits in Forest)GoMedium54.7%
0786Phân số nguyên tố nhỏ thứ K (K-th Smallest Prime Fraction)GoMedium51.7%
0794Trạng thái tic-tac-toe hợp lệ (Valid Tic-Tac-Toe State)GoMedium35.1%
0795Số mảng con có giá trị lớn nhất bị chặn (Number of Subarrays with Bounded Maximum)GoMedium52.8%
0803Gạch rơi khi bị đánh (Bricks Falling When Hit)GoHard34.4%
0807Tăng tối đa để giữ đường chân trời thành phố (Max Increase to Keep City Skyline)GoMedium85.9%
0810Trò chơi XOR bảng phấn (Chalkboard XOR Game)GoHard55.8%
0811Số lượt truy cập theo miền con (Subdomain Visit Count)GoMedium75.5%
0812Diện tích tam giác lớn nhất (Largest Triangle Area)GoEasy59.9%
0815Các tuyến xe buýt (Bus Routes)GoHard45.6%
0817Các thành phần của danh sách liên kết (Linked List Components)GoMedium57.7%
0820Mã hóa ngắn cho các từ (Short Encoding of Words)GoMedium60.6%
0821Khoảng cách ngắn nhất tới một ký tự (Shortest Distance to a Character)GoEasy71.3%
0823Cây nhị phân với thừa số (Binary Trees With Factors)GoMedium49.7%
0825Bạn bè có độ tuổi phù hợp (Friends Of Appropriate Ages)GoMedium46.3%
0826Phân công công việc có lợi nhuận cao nhất (Most Profit Assigning Work)GoMedium44.9%
0832Lật ảnh (Flipping an Image)GoEasy80.8%
0839Nhóm chuỗi tương tự (Similar String Groups)GoHard48.0%
0845Núi dài nhất trong mảng (Longest Mountain in Array)GoMedium40.2%
0846Xếp bài liên tiếp (Hand of Straights)GoMedium56.2%
0850Diện tích hình chữ nhật II (Rectangle Area II)GoHard53.9%
0851Ồn ào và giàu có (Loud and Rich)GoMedium58.4%
0852Chỉ số đỉnh trong mảng núi (Peak Index in a Mountain Array)GoMedium69.0%
0853Đoàn xe (Car Fleet)GoMedium50.3%
0862Mảng con ngắn nhất có tổng ít nhất K (Shortest Subarray with Sum at Least K)GoHard26.0%
0864Đường đi ngắn nhất để lấy tất cả chìa khóa (Shortest Path to Get All Keys)GoHard45.6%
0867Chuyển vị ma trận (Transpose Matrix)GoEasyO(n)O(1)64.3%
0870Xáo trộn để có lợi thế (Advantage Shuffle)GoMedium51.9%
0874Mô phỏng robot đi bộ (Walking Robot Simulation)GoMedium39.0%
0875Koko ăn chuối (Koko Eating Bananas)GoMedium52.1%
0877Trò chơi đá (Stone Game)GoMedium69.7%
0881Thuyền cứu người (Boats to Save People)GoMedium55.8%
0885Ma trận xoắn ốc III (Spiral Matrix III)GoMedium73.5%
0888Đổi kẹo công bằng (Fair Candy Swap)GoEasy60.7%
0890Tìm và thay thế mẫu (Find and Replace Pattern)GoMedium77.6%
0891Tổng độ rộng dãy con (Sum of Subsequence Widths)GoHardO(n log n)O(1)36.7%
0892Diện tích bề mặt của hình 3D (Surface Area of 3D Shapes)GoEasy64.0%
0896Mảng đơn điệu (Monotonic Array)GoEasy58.4%
0898OR bit của các mảng con (Bitwise ORs of Subarrays)GoMedium37.2%
0904Trái cây vào giỏ (Fruit Into Baskets)GoMedium43.7%
0907Tổng giá trị nhỏ nhất của mảng con (Sum of Subarray Minimums)GoMediumO(n)O(n)❤️35.8%
0909Rắn và thang (Snakes and Ladders)GoMedium45.1%
0910Khoảng nhỏ nhất II (Smallest Range II)GoMedium35.2%
0911Bầu cử trực tuyến (Online Election)GoMedium52.2%
0914X cùng loại trong bộ bài (X of a Kind in a Deck of Cards)GoEasy31.2%
0916Tập con của từ (Word Subsets)GoMedium53.7%
0918Tổng lớn nhất của mảng con vòng tròn (Maximum Sum Circular Subarray)GoMedium43.0%
0922Sắp xếp mảng theo tính chẵn/lẻ II (Sort Array By Parity II)GoEasyO(n)O(1)70.7%
0923Tổng 3 số với bội số (3Sum With Multiplicity)GoMedium45.3%
0924Giảm thiểu lây lan mã độc (Minimize Malware Spread)GoHard42.1%
0927Ba phần bằng nhau (Three Equal Parts)GoHard39.6%
0928Giảm thiểu lây lan mã độc II (Minimize Malware Spread II)GoHard42.8%
0930Mảng con nhị phân có tổng (Binary Subarrays With Sum)GoMedium52.2%
0942Ghép chuỗi DI (DI String Match)GoEasy77.3%
0946Xác thực chuỗi ngăn xếp (Validate Stack Sequences)GoMedium67.7%
0952Kích thước thành phần lớn nhất theo ước chung (Largest Component Size by Common Factor)GoHard40.0%
0953Xác minh từ điển người ngoài hành tinh (Verifying an Alien Dictionary)GoEasy54.5%
0961Phần tử lặp N lần trong mảng kích thước 2N (N-Repeated Element in Size 2N Array)GoEasy76.1%
0966Bộ kiểm tra chính tả nguyên âm (Vowel Spellchecker)GoMedium51.4%
0969Sắp xếp pancake (Pancake Sorting)GoMediumO(n)O(1)❤️70.1%
0973K điểm gần gốc tọa độ nhất (K Closest Points to Origin)GoMedium65.7%
0976Chu vi tam giác lớn nhất (Largest Perimeter Triangle)GoEasy54.7%
0977Bình phương của mảng đã sắp xếp (Squares of a Sorted Array)GoEasyO(n)O(1)71.9%
0978Mảng con biến động dài nhất (Longest Turbulent Subarray)GoMedium47.2%
0980Số đường đi duy nhất III (Unique Paths III)GoHard81.7%
0985Tổng các số chẵn sau các truy vấn (Sum of Even Numbers After Queries)GoMedium68.1%
0986Giao nhau của các danh sách đoạn (Interval List Intersections)GoMedium71.3%
0989Cộng vào dạng mảng của số nguyên (Add to Array-Form of Integer)GoEasy47.1%
0990Khả năng thỏa mãn các phương trình đẳng thức (Satisfiability of Equality Equations)GoMedium50.5%
0992Mảng con có K số nguyên khác nhau (Subarrays with K Different Integers)GoHard54.6%
0995Số lần lật bit liên tiếp K tối thiểu (Minimum Number of K Consecutive Bit Flips)GoHard51.2%
0996Số lượng mảng squareful (Number of Squareful Arrays)GoHard49.2%
0997Tìm thẩm phán của thị trấn (Find the Town Judge)GoEasy49.5%
0999Số quân bắt được bởi xe (Available Captures for Rook)GoEasy68.2%
1002Tìm các ký tự chung (Find Common Characters)GoEasy68.5%
1004Số 1 liên tiếp tối đa III (Max Consecutive Ones III)GoMedium63.2%
1005Tối đa hóa tổng mảng sau K lần đổi dấu (Maximize Sum Of Array After K Negations)GoEasy50.8%
1010Cặp bài hát có tổng thời lượng chia hết cho 60 (Pairs of Songs With Total Durations Divisible by 60)GoMedium52.8%
1011Sức chứa để chuyển hàng trong D ngày (Capacity To Ship Packages Within D Days)GoMedium67.7%
1018Tiền tố nhị phân chia hết cho 5 (Binary Prefix Divisible By 5)GoEasy46.9%
1019Nút lớn hơn kế tiếp trong danh sách liên kết (Next Greater Node In Linked List)GoMedium59.9%
1020Số lượng vùng đất bị cô lập (Number of Enclaves)GoMedium65.6%
1030Các ô ma trận theo thứ tự khoảng cách (Matrix Cells in Distance Order)GoEasy69.7%
1034Tô màu đường biên (Coloring A Border)GoMedium49.2%
1037Boomerang hợp lệ (Valid Boomerang)GoEasy37.0%
1040Di chuyển đá đến khi liên tiếp II (Moving Stones Until Consecutive II)GoMedium55.9%
1048Chuỗi từ dài nhất (Longest String Chain)GoMedium59.3%
1049Khối lượng viên đá cuối cùng II (Last Stone Weight II)GoMedium53.2%
1051Kiểm tra chiều cao (Height Checker)GoEasy75.6%
1052Chủ tiệm sách khó chịu (Grumpy Bookstore Owner)GoMedium57.1%
1054Mã vạch cách xa nhau (Distant Barcodes)GoMedium45.9%
1073Cộng hai số âm cơ số 2 (Adding Two Negabinary Numbers)GoMedium36.5%
1074Số lượng ma trận con có tổng bằng mục tiêu (Number of Submatrices That Sum to Target)GoHard69.5%
1089Nhân đôi số 0 (Duplicate Zeros)GoEasy51.5%
1091Đường đi ngắn nhất trong ma trận nhị phân (Shortest Path in Binary Matrix)GoMedium44.7%
1093Thống kê từ mẫu lớn (Statistics from a Large Sample)GoMedium43.5%
1105Xếp sách lên kệ (Filling Bookcase Shelves)GoMedium59.3%
1122Sắp xếp tương đối mảng (Relative Sort Array)GoEasy68.6%
1128Số cặp domino tương đương (Number of Equivalent Domino Pairs)GoEasy47.1%
1157Phần tử chiếm đa số trực tuyến trong mảng con (Online Majority Element In Subarray)GoHard41.8%
1160Tìm các từ có thể tạo từ các ký tự (Find Words That Can Be Formed by Characters)GoEasy67.5%
1170So sánh chuỗi theo tần suất của ký tự nhỏ nhất (Compare Strings by Frequency of the Smallest Character)GoMedium61.5%
1178Số từ hợp lệ cho mỗi câu đố (Number of Valid Words for Each Puzzle)GoHard46.3%
1184Khoảng cách giữa các bến xe buýt (Distance Between Bus Stops)GoEasy54.0%
1200Hiệu tuyệt đối nhỏ nhất (Minimum Absolute Difference)GoEasy69.6%
1207Số lần xuất hiện duy nhất (Unique Number of Occurrences)GoEasy73.5%
1217Chi phí tối thiểu để chuyển chip về cùng vị trí (Minimum Cost to Move Chips to The Same Position)GoEasy71.9%
1232Kiểm tra có phải đường thẳng không (Check If It Is a Straight Line)GoEasy40.3%
1235Lợi nhuận tối đa khi xếp lịch công việc (Maximum Profit in Job Scheduling)GoHard53.4%
1239Độ dài tối đa của chuỗi ghép có ký tự duy nhất (Maximum Length of a Concatenated String with Unique Characters)GoMedium52.2%
1252Ô có giá trị lẻ trong ma trận (Cells with Odd Values in a Matrix)GoEasy78.5%
1254Số lượng đảo khép kín (Number of Closed Islands)GoMedium66.9%
1260Dịch lưới 2D (Shift 2D Grid)GoEasy67.8%
1266Thời gian tối thiểu thăm tất cả các điểm (Minimum Time Visiting All Points)GoEasy79.1%
1268Hệ thống gợi ý tìm kiếm (Search Suggestions System)GoMedium66.2%
1275Tìm người thắng trong trò tic-tac-toe (Find Winner on a Tic Tac Toe Game)GoEasy54.2%
1283Tìm ước số nhỏ nhất với ngưỡng cho trước (Find the Smallest Divisor Given a Threshold)GoMedium56.2%
1287Phần tử xuất hiện hơn 25% trong mảng đã sắp xếp (Element Appearing More Than 25% In Sorted Array)GoEasy59.4%
1293Đường đi ngắn nhất trong lưới có thể loại bỏ chướng ngại (Shortest Path in a Grid with Obstacles Elimination)GoHard45.3%
1295Tìm số có số chữ số chẵn (Find Numbers with Even Number of Digits)GoEasy77.0%
1296Chia mảng thành các bộ K số liên tiếp (Divide Array in Sets of K Consecutive Numbers)GoMedium56.5%
1299Thay phần tử bằng phần tử lớn nhất ở bên phải (Replace Elements with Greatest Element on Right Side)GoEasy73.3%
1300Tổng mảng đã biến đổi gần mục tiêu nhất (Sum of Mutated Array Closest to Target)GoMedium43.6%
1304Tìm N số nguyên duy nhất có tổng bằng 0 (Find N Unique Integers Sum up to Zero)GoEasy76.9%
1306Trò chơi nhảy III (Jump Game III)GoMedium63.5%
1310Truy vấn XOR của mảng con (XOR Queries of a Subarray)GoMedium72.3%
1313Giải nén danh sách mã hóa run-length (Decompress Run-Length Encoded List)GoEasy85.8%
1329Sắp xếp ma trận theo đường chéo (Sort the Matrix Diagonally)GoMedium83.3%
1337K hàng yếu nhất trong ma trận (The K Weakest Rows in a Matrix)GoEasy72.1%
1353Số sự kiện tối đa có thể tham dự (Maximum Number of Events That Can Be Attended)GoMedium32.5%
1380Số may mắn trong ma trận (Lucky Numbers in a Matrix)GoEasy70.7%
1383Hiệu suất tối đa của một đội (Maximum Performance of a Team)GoHard48.5%
1385Tìm giá trị khoảng cách giữa hai mảng (Find the Distance Value Between Two Arrays)GoEasy66.6%
1389Tạo mảng mục tiêu theo thứ tự cho trước (Create Target Array in the Given Order)GoEasy85.8%
1423Điểm tối đa có thể lấy từ các lá bài (Maximum Points You Can Obtain from Cards)GoMedium52.2%
1437Kiểm tra mọi số 1 cách nhau ít nhất K (Check If All 1's Are at Least Length K Places Away)GoEasy58.7%
1438Mảng con liên tục dài nhất có chênh lệch tuyệt đối không vượt quá giới hạn (Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit)GoMedium48.3%
1439Tìm tổng nhỏ thứ K của ma trận có các hàng đã sắp xếp (Find the Kth Smallest Sum of a Matrix With Sorted Rows)GoHard61.4%
1442Đếm bộ ba tạo hai mảng có XOR bằng nhau (Count Triplets That Can Form Two Arrays of Equal XOR)GoMedium76.1%
1463Nhặt anh đào II (Cherry Pickup II)GoHard69.5%
1464Tích lớn nhất của hai phần tử trong mảng (Maximum Product of Two Elements in an Array)GoEasy80.0%
1465Diện tích lớn nhất của miếng bánh sau khi cắt ngang và dọc (Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts)GoMedium40.9%
1470Xáo trộn mảng (Shuffle the Array)GoEasy89.0%
1480Tổng chạy của mảng 1 chiều (Running Sum of 1d Array)GoEasy87.4%
1482Số ngày tối thiểu để làm m bó hoa (Minimum Number of Days to Make m Bouquets)GoMedium54.0%
1512Số lượng cặp tốt (Number of Good Pairs)GoEasy88.2%
1539Số dương bị thiếu thứ K (Kth Missing Positive Number)GoEasy58.6%
1572Tổng đường chéo ma trận (Matrix Diagonal Sum)GoEasy80.3%
1608Mảng đặc biệt với X phần tử >= X (Special Array With X Elements Greater Than or Equal X)GoEasy60.5%
1619Trung bình mảng sau khi loại bỏ một số phần tử (Mean of Array After Removing Some Elements)GoEasy65.8%
1629Phím chậm nhất (Slowest Key)GoEasy59.2%
1631Đường đi với nỗ lực tối thiểu (Path With Minimum Effort)GoMedium55.7%
1636Sắp xếp mảng theo tần suất tăng dần (Sort Array by Increasing Frequency)GoEasy69.5%
1640Kiểm tra tạo mảng bằng phép nối (Check Array Formation Through Concatenation)GoEasy56.2%
1642Tòa nhà xa nhất có thể đến (Furthest Building You Can Reach)GoMedium48.3%
1646Giá trị lớn nhất trong mảng sinh ra (Get Maximum in Generated Array)GoEasy50.2%
1648Bán bóng màu giảm giá trị (Sell Diminishing-Valued Colored Balls)GoMedium30.4%
1649Tạo mảng đã sắp xếp qua hướng dẫn (Create Sorted Array through Instructions)GoHard37.5%
1652Vô hiệu hóa bom (Defuse the Bomb)GoEasy62.4%
1654Số lần nhảy tối thiểu để về nhà (Minimum Jumps to Reach Home)GoMedium29.1%
1655Phân phối số nguyên lặp lại (Distribute Repeating Integers)GoHard39.3%
1656Thiết kế luồng có thứ tự (Design an Ordered Stream)GoEasy85.2%
1658Số thao tác tối thiểu để giảm X về 0 (Minimum Operations to Reduce X to Zero)GoMedium37.6%
1662Kiểm tra hai mảng chuỗi có tương đương không (Check If Two String Arrays are Equivalent)GoEasy83.5%
1664Số cách tạo mảng công bằng (Ways to Make a Fair Array)GoMedium63.3%
1665Năng lượng ban đầu tối thiểu để hoàn thành công việc (Minimum Initial Energy to Finish Tasks)GoHard56.4%
1670Thiết kế hàng đợi trước-giữa-sau (Design Front Middle Back Queue)GoMedium57.2%
1672Tài sản khách hàng giàu nhất (Richest Customer Wealth)GoEasy87.9%
1673Tìm dãy con cạnh tranh nhất (Find the Most Competitive Subsequence)GoMedium49.3%
1674Số bước tối thiểu để mảng bù nhau (Minimum Moves to Make Array Complementary)GoMedium38.7%
1675Giảm thiểu độ lệch trong mảng (Minimize Deviation in Array)GoHard54.6%
1679Số lượng tối đa các cặp có tổng K (Max Number of K-Sum Pairs)GoMedium57.3%
1681Độ không tương thích tối thiểu (Minimum Incompatibility)GoHard37.8%
1684Đếm số chuỗi nhất quán (Count the Number of Consistent Strings)GoEasy82.3%
1685Tổng chênh lệch tuyệt đối trong mảng đã sắp xếp (Sum of Absolute Differences in a Sorted Array)GoMedium63.5%
1690Trò chơi đá VII (Stone Game VII)GoMedium58.1%
1691Chiều cao tối đa bằng cách xếp khối hộp (Maximum Height by Stacking Cuboids)GoHard54.6%
1695Giá trị xóa tối đa (Maximum Erasure Value)GoMedium57.6%
1696Trò chơi nhảy VI (Jump Game VI)GoMedium46.1%
1700Số học sinh không ăn được bữa trưa (Number of Students Unable to Eat Lunch)GoEasy68.8%
1705Số lượng táo ăn được tối đa (Maximum Number of Eaten Apples)GoMedium38.0%
1710Số đơn vị tối đa trên xe tải (Maximum Units on a Truck)GoEasy73.8%
1720Giải mã mảng XOR (Decode XORed Array)GoEasy85.8%
1725Số hình chữ nhật tạo được hình vuông lớn nhất (Number Of Rectangles That Can Form The Largest Square)GoEasy78.6%
1732Tìm độ cao lớn nhất (Find the Highest Altitude)GoEasy78.9%
1734Giải mã hoán vị XOR (Decode XORed Permutation)GoMedium63.0%
1738Tìm giá trị tọa độ XOR lớn thứ K (Find Kth Largest XOR Coordinate Value)GoMedium61.0%
1744Bạn có thể ăn kẹo yêu thích vào ngày yêu thích không? (Can You Eat Your Favorite Candy on Your Favorite Day?)GoMedium33.1%
1748Tổng các phần tử duy nhất (Sum of Unique Elements)GoEasy76.3%
1752Kiểm tra mảng đã sắp xếp và bị xoay (Check if Array Is Sorted and Rotated)GoEasy50.1%
1816Cắt ngắn câu (Truncate Sentence)GoEasy83.1%
1818Hiệu tổng tuyệt đối nhỏ nhất (Minimum Absolute Sum Difference)GoMedium30.4%
1846Phần tử lớn nhất sau khi giảm và sắp xếp lại (Maximum Element After Decreasing and Rearranging)GoMedium58.9%
1877Giảm thiểu tổng cặp lớn nhất trong mảng (Minimize Maximum Pair Sum in Array)GoMedium79.9%
1984Chênh lệch nhỏ nhất giữa điểm cao nhất và thấp nhất của K điểm (Minimum Difference Between Highest and Lowest of K Scores)GoEasy54.5%
2021Vị trí sáng nhất trên đường (Brightest Position on Street)GoMedium62.1%
2022Chuyển mảng 1D thành mảng 2D (Convert 1D Array Into 2D Array)GoEasy59.1%
2037Số bước tối thiểu để sắp chỗ cho mọi người (Minimum Number of Moves to Seat Everyone)GoEasy82.1%
2043Hệ thống ngân hàng đơn giản (Simple Bank System)GoMedium65.2%
2164Sắp xếp chỉ số chẵn và lẻ độc lập (Sort Even and Odd Indices Independently)GoEasy64.9%
2166Thiết kế Bitset (Design Bitset)GoMedium31.8%
2170Số thao tác tối thiểu để mảng xen kẽ (Minimum Operations to Make the Array Alternating)GoMedium33.2%
2171Xóa tối thiểu số hạt đậu ma thuật (Removing Minimum Number of Magic Beans)GoMedium42.1%
2183Đếm các cặp mảng chia hết cho K (Count Array Pairs Divisible by K)GoHard28.3%
------------------------------------------------------------------------------