938664978
938664978
全部文章
leetcode
AI(18)
algorithm(18)
C(6)
computer-vision(15)
cuda(2)
database(1)
fortran(1)
hardware(3)
java(1)
MathModeling(19)
matlab(5)
other(8)
python(68)
robotics(13)
web-development(4)
未归档(5)
归档
标签
去牛客网
登录
/
注册
938664978的博客
全部文章
/ leetcode
(共39篇)
[leetcode][201]. Bitwise AND of Numbers Range
Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive. For example, given th...
2020-07-13
0
435
[leetcode][462] Minimum Moves to Equal Array Elements II
Given a non-empty integer array, find the minimum number of moves required to make all array elements equal, where a move is incrementing a selected e...
2020-07-13
0
421
[leetcode][382] Linked List Random Node
Given a singly linked list, return a random node's value from the linked list. Each node must have the same probability of being chosen. Follow up: ...
2020-07-13
0
476
[leetcode][290]Word Pattern
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a let...
2020-07-13
0
382
[leetcode][81] Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? ...
2020-07-13
0
585
[leetcode][461]461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calc...
2020-07-13
0
398
[leetcode][88] Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has enough space (size...
2020-07-13
0
390
[leetcode]237. Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -...
2020-07-13
0
490
[leetcode][25]Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. k is a positive integer and is less than or equal ...
2020-07-13
0
516
首页
上一页
1
2
3
4
下一页
末页