Algorithms,4th(算法) IntelliJ上路指南(Windows)

对于新手来说,我推荐使用IntelliJ来学习Algorithms中的算法,同时也是官方直接提供安装教程的方法,大家可以参考官方教程来进行安装。以下是我总结的安装过程与注意事项。

1.官方一键安装

https://lift.cs.princeton.edu/java/windows/
在以上网址中有集成的安装包,一键傻瓜式安装包,有详细教程。

2.IDEA的配置

1.打开项目

注意的问题

Do not use either Create New Project or Import Project; these options are intended for advanced programmers. Also, always use Open with a project folder, not an individual file.
不要使用“创建新项目”或“导入项目”; 这些选项适用于高级程序员。 另外,请始终对项目文件夹而不是单个文件使用“打开”。

对于新手来说,如果你不懂得其中的原理,万万不可使用以上功能,很容意出现问题。(这也是官网所警告的)

2.安装课本提供的库

1.在网站https://algs4.cs.princeton.edu/code/上下载库包algs4.jar,同时可下载学习所用的资源文件algs4-data.zip.

2.添加库包[algs4.jar]到java classpath。这一过程很简单,如果你用IntelliJ的话。库包[algs4.jar]不要解压,可以放在任意的目录下。

打开File->Project Structure->Modules->Dependencies,然后点击右上角加号,选择JARs or > directories,找到algs4.jar所在目录,选择algs4.jar,确认即可。
在这里插入图片描述

正如我说的,仔细读一读官方的说明教程,都不是问题。https://lift.cs.princeton.edu/java/windows/
.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
This fourth edition of Robert Sedgewick and Kevin Wayne’s Algorithms is the leading textbook on algorithms today and is widely used in colleges and universities worldwide. This book surveys the most important computer algorithms currently in use and provides a full treatment of data structures and algorithms for sorting, searching, graph processing, and string processing--including fifty algorithms every programmer should know. In this edition, new Java implementations are written in an accessible modular programming style, where all of the code is exposed to the reader and ready to use. The algorithms in this book represent a body of knowledge developed over the last 50 years that has become indispensable, not just for professional programmers and computer science students but for any student with interests in science, mathematics, and engineering, not to mention students who use computation in the liberal arts. The companion web site, algs4.cs.princeton.edu, contains An online synopsis Full Java implementations Test data Exercises and answers Dynamic visualizations Lecture slides Programming assignments with checklists Links to related material The MOOC related to this book is accessible via the "Online Course" link at algs4.cs.princeton.edu. The course offers more than 100 video lecture segments that are integrated with the text, extensive online assessments, and the large-scale discussion forums that have proven so valuable. Offered each fall and spring, this course regularly attracts tens of thousands of registrants. Robert Sedgewick and Kevin Wayne are developing a modern approach to disseminating knowledge that fully embraces technology, enabling people all around the world to discover new ways of learning and teaching. By integrating their textbook, online content, and MOOC, all at the state of the art, they have built a unique resource that greatly expands the breadth and depth of the educational experience.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值