### pre-commit报错误`.pre-commit-config.yaml is not a file`

【代码】pre-commit报错误`.pre-commit-config.yaml is not a file`

### Windows下使用anaconda安装hnswlib

windows系统下安装hnswlib

### [leetcode] 914. X of a Kind in a Deck of Cards

DescriptionIn a deck of cards, each card has an integer written on it.Return true if and only i

### [leetcode] 915. Partition Array into Disjoint Intervals

DescriptionGiven an array A, partition it into two (contiguous) subarrays left and right so that:E

### [leetcode] 1309. Decrypt String from Alphabet to Integer Mapping

DescriptionGiven a string s formed by digits (‘0’ - ‘9’) and ‘#’ . We want to map s to English l

### [leetcode] 918. Maximum Sum Circular Subarray

DescriptionGiven a circular array C of integers represented by A, find the maximum possible su

### [leetcode] 922. Sort Array By Parity II

DescriptionGiven an array A of non-negative integers, half of the integers in A are odd, and h

### [leetcode] 926. Flip String to Monotone Increasing

DescriptionA string of '0’s and '1’s is monotone increasing if it consists of some number of '0’s (p

### [leetcode] 945. Minimum Increment to Make Array Unique

DescriptionGiven an array of integers A, a move consists of choosing any A[i], and incrementin

### [leetcode] 950. Reveal Cards In Increasing Order

DescriptionIn a deck of cards, every card has a unique integer. You can order the deck in any or

### [leetcode] 1160. Find Words That Can Be Formed by Characters

DescriptionYou are given an array of strings words and a string chars.A string is good if it can be for

### [leetcode] 1170. Compare Strings by Frequency of the Smallest Character

DescriptionLet’s define a function f(s) over a non-empty string s, which calculates the frequency of th

### [leetcode] 1184. Distance Between Bus Stops

DescriptionA bus has n stops numbered from 0 to n - 1 that form a circle. We know the distanc

### [leetcode] 1233. Remove Sub-Folders from the Filesystem

DescriptionGiven a list of folders, remove all sub-folders in those folders and return in any order t

### [leetcode] 1222. Queens That Can Attack the King

DescriptionOn an 8x8 chessboard, there can be multiple Black Queens and one White King.Given

### [leetcode] 1346. Check If N and Its Double Exist

DescriptionGiven an array arr of integers, check if there exists two integers N and M such that N

### [leetcode] 1351. Count Negative Numbers in a Sorted Matrix

DescriptionGiven a m * n matrix grid which is sorted in non-increasing order both row-wise an

### [leetcode] 1365. How Many Numbers Are Smaller Than the Current Number

DescriptionGiven the array nums, for each nums[i] find out how many numbers in the array a

• 1
• 2
• 3
• 4
• 5
• 6
• 7
• 8