Code Monkey home page Code Monkey logo

algs4-labs's Introduction

Algs4-Labs

My personal solutions for algs4 labs💀

Websites

官网和coursera上有很多资料,也有实验的在线评测平台。

课程官网:https://algs4.cs.princeton.edu/home/

Coursera官网:https://www.coursera.org/

部分我觉得有意思的课后练习题:Click Here

这门课在西电开设,名为算法分析与设计。

2.5学分,本人最终总评96。西电相关资料请看文件夹。

hello

hello world!

主要配置环境,测试algs4.jar是否能正常编译运行

说实话,这个是最搞的。

Windows平台下,最简单的方法如下:(摸索了很久)

点击这个网址

然后下载lift-java-installer.exe这个一键安装的内容包含:

  • IntelliJ
  • Git
  • 还有一些配置文件

然后运行,它会覆盖classpath还有原先的JAVA path。如果你喜欢挑战自我可以试试手动配置

(安装JDK,添加JAVAPATH,下载algs4.jar,添加到classpath,再安装git,再把algs4.jar添加到git的path,然后用IDE导入algs4.jar包)。不推荐💀

上述内容是可选的,安装了Git或者IntelliJ可以不用勾选。

然后下载algs4.jar包

接下来在IDE里面导入包 (Bing一下,你就知道)

能够在Git Bash中使用

javac-algs4

java-algs4

这两个命令,就证明成功

percolation

Click Here

queues

Click Here

collinear

Click Here

8puzzle

Click Here

kdtree

Click Here

wordnet

Click Here

seam

Click Here

algs4-labs's People

Contributors

iamnotphage avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.