- 博客(2)
- 收藏
- 关注
原创 LeetCode 203 Remove Linked List Elements (链表)
Remove all elements from a linked list of integers that have valueval. Example: Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5 题目链接:https://leetcode.com...
2019-12-24 03:19:58 225
原创 LeetCode 974 Subarray Sums Divisible by K (hash)
Given an arrayAof integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible byK. Example 1: Input: A = [4,5,0,-2,-3,1], K = 5 Output: 7 Explanation: There are...
2019-12-24 03:10:34 186
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人