摘要:
LeetCode解题思路汇总(loading......) 做个记录啦📝 4 Hard Median of Two Sorted Arrays 10 Hard Regular Expression Matching 221 Medium Maximal Square 222 Medium Coun 阅读全文
摘要:
题目描述 LeetCode原题链接:2281. Sum of Total Strength of Wizards As the ruler of a kingdom, you have an army of wizards at your command. You are given a 0-ind 阅读全文
摘要:
题目描述 LeetCode原题链接:828. Count Unique Characters of All Substrings of a Given String Let's define a function countUniqueChars(s) that returns the number 阅读全文
摘要:
题目描述 LeetCode原题链接:818. Race Car Your car starts at position 0 and speed +1 on an infinite number line. Your car can go into negative positions. Your c 阅读全文
摘要:
题目描述 LeetCode原题链接:373. Find K Pairs with Smallest Sums You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. De 阅读全文
摘要:
题目描述 LeetCode原题链接:1621. Number of Sets of K Non-Overlapping Line Segments Given n points on a 1-D plane, where the ith point (from 0 to n-1) is at x = 阅读全文
摘要:
题目描述 LeetCode原题链接:395. Longest Substring with At Least K Repeating Characters Given a string s and an integer k, return the length of the longest subs 阅读全文
摘要:
题目描述 LeetCode原题链接:410. Split Array Largest Sum Given an array nums which consists of non-negative integers and an integer m, you can split the array i 阅读全文
摘要:
题目描述 LeetCode原题链接:1262. Greatest Sum Divisible by Three Given an array nums of integers, we need to find the maximum possible sum of elements of the a 阅读全文
摘要:
题目描述 LeetCode原题链接:1320. Minimum Distance to Type a Word Using Two Fingers You have a keyboard layout as shown above in the X-Y plane, where each Engli 阅读全文
摘要:
题目描述 LeetCode原题链接:642. Design Search Autocomplete System Design a search autocomplete system for a search engine. Users may input a sentence (at least 阅读全文