学习算法和数据结构基础数据结构、算法、基础

2023-09-10 22:42:25 作者:慢慢慢慢的就没了感觉

你能不能给我推荐一本书或(好!)网站有许多硬的问题和练习关于数据结构?

Can you recommend me a book or (better!) a site with many hard problems and exercises about data structures?

我已经回答项目欧拉的问题,但这些问题是关于有趣的,但不常见的算法。我很少使用甚至一个简单的树。也许有一个网站,像练习:哎,你需要计算这个...。不要用一棵树吧。现在做用拉链吧。上传你的C(哈斯克尔,Lisp语言,甚至帕斯卡或堡垒GO)的解决方案。哦,你的解决方案是这么慢!

I'm already answering project Euler questions, but these questions are about interesting, but uncommon algorithms. I hardly used even a simple tree. Maybe there is a site with exercises like: hey, you need to calculate this: ... . Do it using a tree. Now do it using a zipper. Upload your C (Haskell, Lisp, even Pascal or Fortress go) solution. Oh, your solution is so slow!

自我教育是很辛苦,那么你想学习很常见,根本的东西。我该如何帮助自己和他们不参加所有课程,或什么?

Self-education is very hard then you trying to learn very common, fundamental things. How can I help myself with them without attending to courses or whatever?

推荐答案

算法导论,第三版通过Cormen,Leiserson,维斯特和Stein 是一个很好的介绍,以算法和数据结构。它有许多练习在每章的结尾。其中大多数是简单,但也有一些较为困难。

Introduction to Algorithms, Third Edition, by Cormen, Leiserson, Rivest and Stein is a good intro to algorithms and data structures. It has many exercises at the end of each chapter. most of them are simple, but there are some more difficult.

 
精彩推荐
图片推荐