[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4222":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},4222,"algs4","kevin-wayne\u002Falgs4","kevin-wayne","Algorithms, 4th edition textbook code and libraries","http:\u002F\u002Falgs4.cs.princeton.edu\u002Fcode\u002F",null,"Java",7521,2672,386,15,0,1,4,41,"GNU General Public License v3.0",false,"master",true,[],"2026-06-12 02:01:00","## Overview\n\n\u003CIMG SRC=\"http:\u002F\u002Falgs4.cs.princeton.edu\u002Fcover.png\"  align=right hspace=25 width=100 alt = \"Algorithms 4\u002Fe textbook\">\nThis \u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fkevin-wayne\u002Falgs4\">public repository\u003C\u002Fa>\ncontains the Java \u003Ca href = \"http:\u002F\u002Falgs4.cs.princeton.edu\u002Fcode\u002F\">source code\u003C\u002Fa>\nfor the algorithms and clients in the textbook\n\u003Ca href = \"http:\u002F\u002Famzn.to\u002F13VNJi7\">Algorithms, 4th Edition\u003C\u002Fa> by Robert Sedgewick and Kevin Wayne.\nThe official version at \u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fkevin-wayne\u002Falgs4\">https:\u002F\u002Fgithub.com\u002Fkevin-wayne\u002Falgs4\u003C\u002Fa>\nis actively maintained and updated by the authors.\nThe programs are organized in the package \u003Ccode>edu.princeton.cs.algs4\u003C\u002Fcode>.\nIf you need only the class files (and not the source code), you can use\n\u003Ca href = \"http:\u002F\u002Falgs4.cs.princeton.edu\u002Fcode\u002Falgs4.jar\">algs4.jar\u003C\u002Fa> instead.\n\n\u003Cbr>\n\n## Design goals\n\nOur original goal was to cover the \u003Cem>50 algorithms that every programmer should know\u003C\u002Fem>.\nWe use the word \u003Cem>programmer\u003C\u002Fem> to refer to anyone engaged in trying to accomplish\nsomething with the help of a computer, including scientists, engineers, and applications\ndevelopers, not to mention college students in science, engineering, and computer science.\nThe code is optimized for clarity, portability, and efficiency. While some of our \nimplementations are as fast as (or faster than) their counterparts in \u003Ctt>java.util\u003C\u002Ftt>,\nour main goal is to express the core algorithmic ideas in an elegant and simple manner.\nWhile we embrace some advanced Java features (such as generics and iterators),\nwe avoid those that interfere with the exposition (such as inheritance and concurrency).\n\n## Build managers\n\nThis repository is intended for use with either the \u003Ca href = \"https:\u002F\u002Fmaven.apache.org\">Maven\u003C\u002Fa>\nor \u003Ca href = \"https:\u002F\u002Fgradle.org\">Gradle\u003C\u002Fa> build managers.\nIt can be run from either the command line or integrated into\nEclipse, NetBeans, and IntelliJ.\nYou can also access it via \u003Ca href = \"https:\u002F\u002Fbintray.com\u002Falgs4\u002Fmaven\u002Falgs4\">Bintray\u003C\u002Fa>.\n\n## Coursera Algorithms, Part I and II students\n\nFeel free to use this public repository to develop solutions to the programming assignments.\nHowever, please do not store solutions to programming assignments in public repositories.\n\n\n## Copyright\n\nCopyright &copy; 2000&ndash;2023 by Robert Sedgewick and Kevin Wayne.\n\n## License\n\nThis code is released under GPLv3.\n\n## Contribute to this repository\n\nThis \u003Ca href = \"http:\u002F\u002Falgs4.cs.princeton.edu\u002Fcode\u002Fwishlist.txt\">wishlist.txt\u003C\u002Fa>\ncontains a list of algorithms and data structures that we would\nlike to add to the repository. Indeed, several of the algorithms and\ndata structures in this repository were contributed by others. If interested, please\nfollow the same style as the code in the repository and thoroughly test your\ncode before contacting us.\n\n## Support for other programming languages\n\nSome of the code in this repository has been translated to other languages:\n\u003Cul>\n\u003Cli>\u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fgaryaiki\u002FScala-Algorithms\">Scala\u003C\u002Fa> by Gary Struthers\n\u003Cli>\u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fnguyenqthai\u002FAlgs4Net\">.NET\u003C\u002Fa> by Quoc Thai\n\u003Cli>\u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fitu-algorithms\u002Fitu.algs4\">Python\u003C\u002Fa> by ITU Copenhagen\n\u003Cli>\u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fshellfly\u002Falgs4-py\">Python\u003C\u002Fa> by Li Hao\n\u003Cli>\u003Ca href = \"https:\u002F\u002Fgithub.com\u002Fshellfly\u002Falgo\">Go\u003C\u002Fa> by Li Hao\n\u003C\u002Ful>\n\n\n## Credits\n\nThanks to Peter Korgan for Maven and Gradle support.\n","该项目是《算法（第四版）》教材的Java代码和库实现。它涵盖了程序员应知的50种核心算法，强调代码清晰、可移植性和效率。项目采用先进的Java特性如泛型和迭代器，但避免了可能干扰算法理解的复杂特性如继承和并发。适合计算机科学学生、工程师以及任何希望借助计算机解决问题的人士学习和使用。代码组织在`edu.princeton.cs.algs4`包中，并支持Maven或Gradle构建工具，可以轻松集成到Eclipse、NetBeans和IntelliJ等IDE中。",2,"2026-06-11 02:59:04","top_language"]