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][83]Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1...
2020-07-13
0
391
[leetcode][67] Add Binary
Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". cl...
2020-07-13
0
394
[leetcode][155] Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- R...
2020-07-13
0
412
[leetcode][187]Repeated DNA Sequences
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes ...
2020-07-13
0
452
[leetcode][108]. Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST. # Definition for a binary tree node. # class TreeN...
2020-07-13
0
412
[leetcode][384]. Shuffle an Array
Shuffle a set of numbers without duplicates. Example: // Init an array with set 1, 2, and 3. int[] nums = {1,2,3}; Solution solution = new Solution...
2020-07-13
0
542
[leetcode][18]4Sum
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
2020-07-13
0
420
[leetcode][231] Power of Two
Given an integer, write a function to determine if it is a power of two. class Solution(object): def isPowerOfTwo(self, n): "...
2020-07-13
0
411
[leetcode][171] Excel Sheet Column Number
Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example...
2020-07-13
0
455
[leetcode][350] Intersection of Two Arrays II
Given two arrays, write a function to compute their intersection. Example: Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2]. Note: Eac...
2020-07-13
0
426
首页
上一页
1
2
3
4
下一页
末页