![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
IFollowRivers
now is everything!
展开
-
【Leet Code- Algorithm】【1-Two Sum】【Python】
编程小白,想通过博客来记录自己每天编程的心得,每天进步一点点,请大家多多指数!如果有新的想法,我会及时更新。如果内容有误,欢迎大家指出。另外,内容中可能包含我的疑问,多谢大家帮忙解答。 题目: Given an array of integers, return indices of the two numbers such that they add up to a specific原创 2016-09-18 21:17:16 · 724 阅读 · 2 评论 -
【LeetCode-Algorithm】【7-Reverse Integer】【Python】
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good questions to ask before c原创 2016-09-20 19:04:47 · 2187 阅读 · 0 评论 -
【LeetCode-Algorithm】【4-Median of Two Sorted Arrays】【Python】
问题: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). Example 1:原创 2016-09-18 21:59:00 · 770 阅读 · 0 评论