leetcode
qq_34116299
这个作者很懒,什么都没留下…
展开
-
线性表
线性表基本操作 #定义线性表 class Lnode(): def __init__(self,last): self.data=[None for i in range(100)] #数组长度 self.last=last #线性表的长度 #线性表的基本操作 def MakeEmpty(num): PtrL=Lnode(num) retur...原创 2019-04-16 11:16:49 · 101 阅读 · 0 评论 -
day2
给定两个数组,编写一个函数来计算它们的交集。 class Solution(object): def intersection(self, num1, num2): """ :type nums1: List[int] :type nums2: List[int] :rtype: List[int] """ ...原创 2019-04-12 22:54:30 · 81 阅读 · 0 评论