Python算法刷题
一只数据媛
这个作者很懒,什么都没留下…
展开
-
LeetCode | 一只数据媛的刷题笔记(1)
LeetCode 27 Remove Element 移除元素 leetcode - remove element 力扣 - 移除元素 Given an array nums and a value val, remove all instances of that value in-place and return the new length. 给定一个数组 nums 和一个值 val,你需要...原创 2019-09-01 15:56:39 · 97 阅读 · 0 评论 -
LeetCode | 一只数据媛的刷题笔记(2)
LeetCode 26 Remove Duplicates from Sorted Array Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space...原创 2019-09-07 23:01:06 · 123 阅读 · 0 评论