AlgorithmAndDataStructure icon indicating copy to clipboard operation
AlgorithmAndDataStructure copied to clipboard

互联网行业研发岗面试必备算法题配图解析及代码

Results 2 AlgorithmAndDataStructure issues
Sort by recently updated
recently updated
newest added

这道题如果输入是[1,2,3,4,5,6,7,8]和[5,4,8,7,6,3,2,1]结果应该是true吧?您的算法会判断为false。

第三题的解答似乎是从头到尾打印,而题目是从尾到头,应该使用递归解决