Junqw
Junqw
全部文章
Algorithm
C++(6)
Pytorch_Mxnet(10)
STM32(1)
Tensorflow(1)
未归档(5)
环境配置(3)
归档
标签
去牛客网
登录
/
注册
Junqw的博客
全部文章
/ Algorithm
(共25篇)
List_算法
文章目录 141. Linked List Cycle 203. Remove Linked List Elements 142. Linked List Cycle II 141. Linked List Cycle 判断l...
2019-06-20
0
465
61. Rotate List
Input: 0->1->2->NULL, k = 4 Output: 2->0->1->NULL Explanation: rotate 1 steps to the right: 2->0->1->NULL rotate 2 steps t...
2019-06-18
0
427
19. Remove Nth Node From End of List
去掉列表中 倒数第n个节点 #include <vector> #include <iostream> using namespace std; struct ListNode { int val; ListNode *next; List...
2019-06-17
0
429
24. Swap Nodes in Pairs
成对交换列表节点 给定一个链表,两两交换其中相邻的节点,并返回交换后的链表。 给定 1->2->3->4, 你应该返回 2->1->4->3. struct ListNode { int val; ListNode *next;...
2019-06-17
0
363
算法随笔
文章目录 原地删除重复的数字 数组中出现次数超过一半的元素 解法1 解法2 将数值向右移动K个位置(非负数) 解法1 解法2 判断重复数字 变形2 ...
2019-06-16
0
525
首页
上一页
1
2
3
下一页
末页