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 次
全部评论

相关推荐

VirtualBool:都去逗他了?
点赞 评论 收藏
分享
在看数据的傻狍子很忙碌:学生思维好重,而心很急,自己想想真的能直接做有难度的东西吗?任何错误都是需要人担责的,你实习生可以跑路,你的同事领导呢
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务