leetcode
文章平均质量分 96
LIQING LIN
这个作者很懒,什么都没留下…
展开
-
51. N-Queens_s.split()_s.strip().split(‘ ‘)_list(*zip(mat))_Unique Paths_jump_Spiral_75. Sort Colors
Then-queenspuzzle is the problem of placingnqueens on ann x nchessboard such that no two queens attack each other.Given an integern, returnall distinct solutions to then-queens puzzle. You may return the answer inany order.Each solution conta...原创 2021-08-14 01:18:21 · 372 阅读 · 0 评论 -
1.Two Sum_Closest-25. Reverse Nodes in k-Group_python_linked list_删_并_Roman_dp_swap_int(s)ValueError
1.Two SumGiven an array of integersnumsand an integertarget, returnindices of the two numbers such that they add up totarget.You may assume that each input would haveexactlyone solution, and you may not use thesameelement twice.You can retu...原创 2021-06-29 05:07:00 · 764 阅读 · 0 评论 -
26. Remove Duplicates from Sorted Array_Binary Search_regex_capture group_dfs_zip(*a)_50. Pow(x, n)
26.Remove Duplicates from Sorted ArrayGiven an integer arraynumssorted innon-decreasing order, remove the duplicatesin-placesuch that each unique element appears onlyonce. Therelative orderof the elements should be kept thesame.Since it is im...原创 2021-07-19 11:09:23 · 572 阅读 · 0 评论