61

[面试][算法] 昨天面试碰到了一个算法题,比较有难度,放上来看各位 v 友有没有办法和思...

 6 years ago
source link: https://www.v2ex.com/t/442035
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
程序员 - @fov6363 - 一个单链表,每个节点里存储都是正整数,现在是无序的,可能会有重复数字,可以修改每个节点里的值,达到以下两个目标: [1] 单链表变为有序的,从大到小,可以大于等于. [2] 修改的△

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK