这学期本🐀选学了cs院那边的算法课,用的教材算法导论,很是晦涩难懂。

而且代码作业得花很长时间写, 老板又催着做科研,有点麻

码老嗨能否分享下初学算法有什么经验?


  • Author: Asyncsort
  • Created: 2022-03-28 14:01:39 UTC
  • Score: 18
  • ID: i2fsgkf
  • Ups=18 | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2fsgkf/

leetcode刷300道中等难度再来问

  • Author: Human_Pace7253
  • Created: 2022-03-28 15:05:47 UTC
  • Score: 2
  • ID: i2g1dbl
  • Ups=2 | Submitter=true | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2g1dbl/

那就这样把

  • Author: NoSafe2903
  • Created: 2022-03-28 14:21:17 UTC
  • Score: 5
  • ID: i2fv33v
  • Ups=5 | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2fv33v/

只有一本算法导论当教材也太抽象了

  • Author: Human_Pace7253
  • Created: 2022-03-28 15:07:17 UTC
  • Score: 2
  • ID: i2g1kvp
  • Ups=2 | Submitter=true | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2g1kvp/

算法导论只有伪代码,和真正写程序代码还是有区别

  • Author: furry199564
  • Created: 2022-03-28 14:28:18 UTC
  • Score: 3
  • ID: i2fw1oj
  • Ups=3 | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2fw1oj/

不知道,主要还是做题数学思维。。。刷刷leetcode把

  • Author: [deleted]
  • Created: 2022-03-28 15:30:51 UTC
  • Score: 5
  • ID: i2g4z64
  • Ups=5 | FlairColor=dark | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2g4z64/

[deleted]

  • Author: Human_Pace7253
  • Created: 2022-03-29 00:40:46 UTC
  • Score: 2
  • ID: i2i8kiv
  • Ups=2 | Submitter=true | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2i8kiv/

给个link吧,谢谢了

  • Author: [deleted]
  • Created: 2022-03-29 12:50:38 UTC
  • Score: 2
  • ID: i2k3iaz
  • Ups=2 | FlairColor=dark | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2k3iaz/

[deleted]

  • Author: Human_Pace7253
  • Created: 2022-03-30 02:57:02 UTC
  • Score: 1
  • ID: i2o3439
  • Ups=1 | Submitter=true | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2o3439/

感谢

  • Author: qqMusiic
  • Created: 2022-03-28 17:38:26 UTC
  • Score: 11
  • ID: i2go2e7
  • Ups=11 | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2go2e7/

算法导论揭示的是算法背后的设计思想,上面一大堆证明,跟刷题不是一个概念,那本书学起来像在学数学。提高算法刷题就够了

  • Author: curryfishballs2
  • Created: 2022-03-28 18:00:45 UTC
  • Score: 4
  • ID: i2grbaf
  • Ups=4 | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2grbaf/

刷题就完事儿了。 。。边刷就边理解了

  • Author: [deleted]
  • Created: 2022-03-28 19:04:25 UTC
  • Score: 7
  • ID: i2h0h1k
  • Ups=7 | FlairColor=dark | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2h0h1k/

算法导论就是CLRS那本书是吗?那是有点抽象了。要不你看看 Robert Sedgewick 的那本?我记得好像都带Java代码的:https://algs4.cs.princeton.edu/home/ 他好像还有本Algorithms in C 也挺好的。

不过算法就和数学一样都得做题,不做题肯定是不能学会的。

  • Author: Human_Pace7253
  • Created: 2022-03-29 00:44:40 UTC
  • Score: 1
  • ID: i2i91pa
  • Ups=1 | Submitter=true | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2i91pa/

是CLRS那本

感谢推荐

  • Author: [deleted]
  • Created: 2022-03-28 19:57:07 UTC
  • Score: 7
  • ID: i2h84hg
  • Ups=7 | FlairColor=dark | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2h84hg/

初学算法直接上clrs可还行,我大一的时候嗯啃那玩意,啃了两个月都连个bfs都写不出来

新手老老实实刷题背模版,在 理解 的基础上做到随手 默写 常用算法的程度

  • Author: [deleted]
  • Created: 2022-03-28 23:58:58 UTC
  • Score: 1
  • ID: i2i3lqg
  • Ups=1 | FlairColor=dark | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2i3lqg/

[deleted]

  • Author: Ambitious_Bug_9738
  • Created: 2022-03-29 15:23:28 UTC
  • Score: 1
  • ID: i2kotb5
  • Ups=1 | Permalink=/r/iwanttorun/comments/tq9mz6/码老嗨能点拨算法方面的经验吗/i2kotb5/

几年级啊数学学到那了就上算法导论?