自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 刷题(3)整数排序(python)

class Solution: """ @param A: an integer array @return: nothing """ def sortIntegers(self, A): # write your code here n=len(A) for j in range (0,n-1): ...

2018-10-24 16:53:59 662

转载 二叉树的最大值求法

class Solution: """ @param: root: the root of tree @return: the max node """ def maxNode(self, root): if root is None: return None left = ...

2018-10-23 18:08:37 4802

原创 程序员刷题(2)求矩阵面积 (Python)

class Rectangle(object): width=0 height=0 def __init__(self,width,height): self.width = width self.height = height def getArea(self): return( self.width*self.heig...

2018-10-22 21:18:48 950

转载 程序员刷题(1)反转三位数(python)

程序员常用刷题(1)反转一个三位数class Solution:“”"@param number: A 3-digit number.@return: Reversed number.“”"def reverseInteger(self, number): unit=int(number%10) ten=int((number%100)/10) hun=int(...

2018-10-19 11:05:53 751

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除