最新 最热

Flex布局

Flex布局 通过给父盒子添加flex属性,来控制子盒子的位置和排列方式 常见的父项属性flex-direction设置主轴方向默认主轴是水平的x轴 主轴和侧轴是会变化的, flex-direction 设置谁为主轴,剩下的就是侧轴 属性值说明row从...

2021-08-16
1

LeetCode 0189 - Rotate Array

Given an array, rotate the array to the right by k steps, where k is non-negative.

2021-08-11
0

LeetCode 0148 - Sort List

Sort a linked list in O(n log n) time using constant space complexity.

2021-08-11
0

LeetCode 0141 - Linked List Cycle

Given a linked list, determine if it has a cycle in it.

2021-08-11
1

LeetCode 0142 - Linked List Cycle II

Given a linked list, return the node where the cycle begins. If there is no cycle, return null.

2021-08-11
1

LeetCode 0234 - Palindrome Linked List

Given a singly linked list, determine if it is a palindrome.

2021-08-11
1

LeetCode 0238 - Product of Array Except Self

Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i].

2021-08-11
0

LeetCode 0229 - Majority Element II

Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times.

2021-08-11
1

LeetCode 0321 - Create Maximum Number

Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. The relative...

2021-08-11
1

LeetCode 0290 - Word Pattern

Given a pattern and a string str, find if str follows the same pattern.

2021-08-11
1