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] python Remove Duplicates from Sorted Array II
problem: Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array A = [1,1,1,2...
2020-07-14
0
528
[leetcode] Search in Rotated Sorted Array Python
Problem: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are ...
2020-07-14
0
428
[leetcode]Merge Two Sorted Lists
Merge Two Sorted Lists # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solut...
2020-07-14
0
409
[leetcode127]Word Ladder Problem
Word Ladder Problem 问题描述: Given two words (beginWord and endWord), and a dictionary’s word list, find the length of shortest transformation sequence...
2020-07-14
0
527
[leetcode126]word ladder 2
word ladder 2 Given two words (beginWord and endWord), and a dictionary’s word list, find all shortest transformation sequence(s) from beginWord to e...
2020-07-14
0
453
[leetcode284]Peeking Iterator
问题描述: Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation ...
2020-07-14
0
423
[leetcode54] Spiral Matrix
问题描述: Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the followin...
2020-07-14
0
428
[leetcode64]Minimum Path Sum
问题描述: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along i...
2020-07-14
0
385
[leetcode279] perfect squares
问题描述: Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, g...
2020-07-14
0
478
[leetcode292]Nim Game
问题描述: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1...
2020-07-14
0
474
首页
上一页
1
2
3
4
下一页
末页