![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python学习
bigbangwqf
这个作者很懒,什么都没留下…
展开
-
Python学习——leetcode(Remove Element)
Remove Element原创 2014-12-16 15:13:03 · 360 阅读 · 0 评论 -
Python学习——leetcode(Intersection of Two Linked Lists)
Write a program to find the node at which the intersection of two singly linked lists begins.原创 2014-12-18 13:59:51 · 351 阅读 · 0 评论 -
Python学习——leetcode(Remove Nth Node From End of List)
删除倒数第n个节点原创 2014-12-18 16:05:47 · 270 阅读 · 0 评论 -
Python学习——leetcode(Balanced Binary Tree)
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ by more than 1.如何判断一个二叉树是否为平衡二叉树,用python代码实现原创 2014-12-18 14:21:52 · 396 阅读 · 0 评论 -
Python学习——leetcode(Binary Tree Level Order Traversal)
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).原创 2014-12-18 13:22:17 · 330 阅读 · 0 评论 -
Python学习——leetcode(Valid Parentheses)
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not.括号匹配问题原创 2014-12-18 15:37:08 · 349 阅读 · 0 评论 -
Python学习——leetcode(Add Binary)
Add Binary:Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".原创 2014-12-16 16:32:29 · 446 阅读 · 0 评论 -
Python学习——leetcode(Compare Version Numbers)
Compare two version numbers version1 and version1.If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0.You may assume that the version strings are non-empty and contain only digits and the . character.The . character doe原创 2014-12-17 19:27:00 · 608 阅读 · 0 评论 -
Python学习——leetcode(Climbing Stairs)
Climbing Stairs原创 2014-12-16 15:52:08 · 352 阅读 · 0 评论 -
Python学习——leetcode(Length of Last Word)
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defined as a character sequence consists of non-space character原创 2014-12-17 16:36:46 · 659 阅读 · 0 评论 -
Python学习——leetcode(Merge Two Sorted Lists )
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.原创 2014-12-16 18:04:43 · 315 阅读 · 0 评论 -
Python学习——leetcode(Two Sum)
leetcoded使用Python语言解决Two Sum问题原创 2014-12-15 15:09:39 · 984 阅读 · 0 评论 -
Python学习——leetcode(Remove Duplicates from Sorted List)
Remove Duplicates from Sorted List-------Python accepted原创 2014-12-15 19:10:18 · 360 阅读 · 0 评论