于之曦
于之曦
全部文章
题解
归档
标签
去牛客网
登录
/
注册
于之曦的博客
全部文章
/ 题解
(共3篇)
题解 | #删除链表中重复的结点#
# -*- coding:utf-8 -*- # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def delete...
2021-04-29
0
309
题解 | #数组中的逆序对# python2/3都适用 归并排序
写个题解。python版的归并排序,中间加一行:self.p += len(l1) - i。这样就行喽 # -*- coding:utf-8 -*- class Solution: def InversePairs(self, data): # write code here...
2021-04-25
1
434
题解 | #把数组排成最小的数#
# -*- coding:utf-8 -*- class Solution: def PrintMinNumber(self, numbers): # write code here import functools num_str = lis...
2021-04-23
1
399