我把刷题的顺序调整了一下,所以可以根据题号进行参考,题号和力扣上时对应的,那么接下来就开始刷题之旅吧~ 注:需要补充的是,如果对于每题的思路不是很理解,可以点击链接查看视频 ...
【LeetCode】树的DFS(前序、中序、后序)精选10题 LeetCode 树的DFS(前序、中序、后序)精选10题 详解 阅读详情 Given a linked list, swap every two adjacent nodes and return its head. Given 1->2->3->4, you should return the ...
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to determine if a number is strobogrammatic. The number is represented as a ...
Can you solve this real interview question? Koko Eating Bananas - Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results