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篇)
[leetcode151] Reverse Words in a String
问题描述: Given an input string, reverse the string word by word. For example, Given s = “the sky is blue”, return “blue is sky the”. 代码: class Solu...
2020-07-14
0
413
[leetcode190]Reverse Bits
问题描述: Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100...
2020-07-14
0
482
[leetcode295]Find Median from Data Stream
问题描述: Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of ...
2020-07-14
0
440
[leetcode297]Serialize and Deserialize Binary Tree
问题描述: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory ...
2020-07-14
0
436
[leetcode299]Bulls and Cows
问题描述: You are playing the following Bulls and Cows game with your friend: You write a 4-digit secret number and ask your friend to guess it. Each ...
2020-07-14
0
482
[leetcode300] Longest Increasing Subsequence
问题描述: Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9, 2, 5, 3, 7, 101, 18], T...
2020-07-14
0
407
[leetcode287] Find the Duplicate Number
问题描述: Find the Duplicate Number My Submissions <button class="btn btn-default active" type="button&quo...
2020-07-14
0
425
[leetcode][401]. Binary Watch
下课了,做道简单题。 A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each ...
2020-07-13
0
451
[leetcode][125]Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a can...
2020-07-13
0
675
[leetcode][98] Validate Binary Search Tree
没睡着,来做题。 Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of ...
2020-07-13
0
437
首页
上一页
1
2
3
4
下一页
末页