1、反转链表三种思路:递归;入栈;双链表;
2、reverse() method of Collections class as the name itself suggests is used for reversing elements been there up in the object in which they are stored. LinkedList是Queue的一种实现#不确定/,Queue的offer用于插入,poll弹出,queue是先进先出
2022-05-10
在牛客打卡9天,今天学习:刷题 2 道/代码提交 9 次
全部评论

相关推荐

牛至超人:哈工大已经很棒了,不需要加括号了,然后咋没有实习经历呢?火速趁寒假整一段实习,导师不让就狠狠肘击
投了多少份简历才上岸
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务