- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 leetcode 205 Isomorphic Strings 同构字符串 python 最简解法
所有Leetcode题目不定期汇总在 Github, 欢迎大家批评指正,讨论交流。 ''' Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurren...
2019-02-25 14:22:02 205
原创 leetcode 011 Container With Most Water 盛最多水的容器 python 撞指针法
所有Leetcode题目不定期汇总在 Github, 欢迎大家批评指正,讨论交流。 ''' Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoi...
2019-02-21 21:44:15 145
原创 leetcode 215 Kth Largest Element in an Array 数组中的第K个最大元素 python 一行代码
所有Leetcode题目不定期汇总在 Github, 欢迎大家批评指正,讨论交流。 ''' Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. Example ...
2019-02-21 10:59:17 230
原创 leetcode 074 Sort Colors 颜色分类 python 最效率解法
所有Leetcode题目不定期汇总在 Github, 欢迎大家批评指正,讨论交流。 ''' Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the ord...
2019-02-21 10:46:25 120
原创 leetcode 080 删除排序数组中的重复项 II Remove Duplicates from Sorted Array II python
所有Leetcode题目不定期汇总在 Github, 欢迎大家批评指正,讨论交流。 ''' Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra...
2019-02-21 10:13:33 112
基于同一局域网下的多台电脑屏幕分享
2015-12-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人