- 博客(2078)
- 问答 (1)
- 收藏
- 关注
原创 LeetCode //C - 718. Maximum Length of Repeated Subarray
The problem requires finding the maximum length of a subarray that appears in both given integer arrays, nums1 and nums2. A dynamic programming approach is used to solve this efficiently. A 2D DP table is constructed where dp[i][j] represents the length of
2025-05-19 07:15:00
194
原创 LeetCode //C - 717. 1-bit and 2-bit Characters
This problem requires determining whether a given binary array ends with a single character (0). By traversing the array, when encountering 1, skip the next bit, because 1 always represents two characters (10 or 11); when encountering 0, only move one bit
2025-05-18 07:15:00
910
原创 LeetCode //C - 715. Range Module
Range Module is a data structure for tracking numeric ranges, supporting add, query, and delete operations for half-open intervals [left, right). The core idea of the implementation is to manage intervals through a dynamic array and merge or split interv
2025-05-17 07:15:00
1754
原创 LeetCode //C - 713. Subarray Product Less Than K
The question requires calculating the number of all consecutive subarrays in the array whose product is strictly less than a given integer k. If k is less than or equal to 1, return 0 directly, because no positive product will be less than 1. Use the slidi
2025-05-16 07:15:00
627
原创 LeetCode //C - 712. Minimum ASCII Delete Sum for Two Strings
To express something in English, ensure that the language used is clear, concise, and follows standard grammatical rules. Here are some tips to help improve English communication:Practice regularly by reading, writing, speaking, and listening to English c
2025-05-15 07:15:00
1389
原创 LeetCode //C - 710. Random Pick with Blacklist
【代码】LeetCode //C - 710. Random Pick with Blacklist。
2025-05-14 07:15:00
2094
原创 LeetCode //C - 695. Max Area of Island
【代码】LeetCode //C - 695. Max Area of Island。
2025-05-12 07:15:00
552
原创 LeetCode //C - 707. Design Linked List
【代码】LeetCode //C - 707. Design Linked List。
2025-05-11 07:15:00
869
原创 LeetCode //C - 706. Design HashMap
【代码】LeetCode //C - 706. Design HashMap。
2025-05-10 07:15:00
1086
原创 LeetCode //C - 705. Design HashSet
【代码】LeetCode //C - 705. Design HashSet。
2025-05-09 07:15:00
1370
原创 LeetCode //C - 703. Kth Largest Element in a Stream
【代码】LeetCode //C - 703. Kth Largest Element in a Stream。
2025-05-08 07:15:00
537
原创 LeetCode //C - 701. Insert into a Binary Search Tree
【代码】LeetCode //C - 701. Insert into a Binary Search Tree。
2025-05-07 07:15:00
921
原创 LeetCode //C - 699. Falling Squares
【代码】LeetCode //C - 699. Falling Squares。
2025-05-06 07:15:00
1683
原创 LeetCode //C - 698. Partition to K Equal Sum Subsets
【代码】LeetCode //C - 698. Partition to K Equal Sum Subsets。
2025-05-05 07:15:00
1288
原创 LeetCode //C - 697. Degree of an Array
【代码】LeetCode //C - 697. Degree of an Array。
2025-05-04 07:15:00
822
原创 LeetCode //C - 696. Count Binary Substrings
【代码】LeetCode //C - 696. Count Binary Substrings。
2025-05-03 07:15:00
590
原创 LeetCode //C - 695. Max Area of Island
【代码】LeetCode //C - 695. Max Area of Island。
2025-05-02 07:15:00
981
原创 LeetCode //C - 693. Binary Number with Alternating Bits
【代码】LeetCode //C - 693. Binary Number with Alternating Bits。
2025-05-01 07:15:00
610
原创 LeetCode //C - 692. Top K Frequent Words
【代码】LeetCode //C - 692. Top K Frequent Words。
2025-04-30 07:15:00
842
原创 LeetCode //C - 691. Stickers to Spell Word
【代码】LeetCode //C - 691. Stickers to Spell Word。
2025-04-29 07:15:00
842
原创 LeetCode //C++ - 690. Employee Importance
【代码】LeetCode //C++ - 690. Employee Importance。
2025-04-28 07:15:00
655
原创 LeetCode //C - 689. Maximum Sum of 3 Non-Overlapping Subarrays
【代码】LeetCode //C - 689. Maximum Sum of 3 Non-Overlapping Subarrays。
2025-04-27 07:15:00
521
原创 LeetCode //C - 688. Knight Probability in Chessboard
【代码】LeetCode //C - 688. Knight Probability in Chessboard。
2025-04-26 07:15:00
1831
原创 LeetCode //C - 687. Longest Univalue Path
【代码】LeetCode //C - 687. Longest Univalue Path。
2025-04-25 07:15:00
571
原创 LeetCode //C - 686. Repeated String Match
【代码】LeetCode //C - 686. Repeated String Match。
2025-04-24 07:15:00
670
原创 LeetCode //C - 685. Redundant Connection II
【代码】LeetCode //C - 685. Redundant Connection II。
2025-04-23 07:15:00
1062
原创 LeetCode //C - 684. Redundant Connection
【代码】LeetCode //C - 684. Redundant Connection。
2025-04-22 07:15:00
1180
原创 LeetCode //C - 680. Valid Palindrome II
【代码】LeetCode //C - 680. Valid Palindrome II。
2025-04-20 07:15:00
1381
原创 LeetCode //C - 678. Valid Parenthesis String
【代码】LeetCode //C - 678. Valid Parenthesis String。
2025-04-18 07:15:00
521
原创 LeetCode //C - 676. Implement Magic Dictionary
【代码】LeetCode //C - 676. Implement Magic Dictionary。
2025-04-16 07:15:00
614
原创 LeetCode //C - 675. Cut Off Trees for Golf Event
【代码】LeetCode //C - 675. Cut Off Trees for Golf Event。
2025-04-15 07:15:00
724
原创 LeetCode //C - 674. Longest Continuous Increasing Subsequence
【代码】LeetCode //C - 674. Longest Continuous Increasing Subsequence。
2025-04-14 07:15:00
530
原创 LeetCode //C - 673. Number of Longest Increasing Subsequence
【代码】LeetCode //C - 673. Number of Longest Increasing Subsequence。
2025-04-13 07:15:00
987
原创 LeetCode //C - 672. Bulb Switcher II
【代码】LeetCode //C - 672. Bulb Switcher II。
2025-04-12 07:15:00
822
原创 LeetCode //C - 671. Second Minimum Node In a Binary Tree
【代码】LeetCode //C - 671. Second Minimum Node In a Binary Tree。
2025-04-11 07:15:00
1113
空空如也
在函数中产生的指针变量无法在函数指针的参数中传递。
2023-10-09
用指向指针的指针动态分配二维数组后,再用指向指针的指针输入数据和输出数据出现问题。
2019-09-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人