{"adoption": {"forks": 2659, "observed_at": "2026-08-28T04:10:00.448002+00:00", "stars": 7519}, "canonical_url": "https://ross.abutalabs.com/products/algs4", "card": {"archived": false, "artifact_type": "library", "description": "Algorithms, 4th edition textbook code and libraries", "domain": ["education", "developer-tools"], "enriched": true, "function": ["developer-tools"], "health_score": 57, "homepage": "http://algs4.cs.princeton.edu/code/", "language": "Java", "license": "GPL-3.0", "license_family": "copyleft", "maturity": "stable", "member_repos": ["kevin-wayne/algs4"], "name": "kevin-wayne/algs4", "platform": ["jvm", "cross-platform"], "pushed_at": "2026-01-10T12:53:55+00:00", "repo": "kevin-wayne/algs4", "stars": 7519, "tags": ["algorithms", "data-structures", "textbook", "computer-science", "sorting", "graphs", "searching", "java-library", "coursera", "education"], "topics": [], "urls": [], "use_cases": ["learn fundamental algorithms and data structures in Java", "follow along with the Algorithms 4th edition textbook", "complete Coursera Algorithms Part I and II programming assignments", "reference implementations of sorting, graph, and string algorithms", "set up a Java teaching environment for a computer science course", "study classic data structures like union-find, BSTs, and tries"], "what_it_is": "The official Java source code and libraries accompanying the textbook 'Algorithms, 4th Edition' by Sedgewick and Wayne, packaged as edu.princeton.cs.algs4. It provides clear, educational implementations of fundamental algorithms and data structures such as sorting, searching, graphs, and strings.", "when_to_avoid": ["you need production-grade, thread-safe, or highly optimized data structures (use java.util or Guava)", "you need algorithms in a language other than Java", "you require concurrency support or advanced inheritance-based APIs", "you need a comprehensive algorithms library beyond the textbook's scope"], "when_to_choose": ["you are learning or teaching algorithms from the Algorithms 4th edition textbook", "you need clear, readable reference implementations of classic algorithms in Java", "you are a Coursera Algorithms course student working on assignments", "you want a simple, dependency-light Java library of core data structures"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/algs4", "repo": "kevin-wayne/algs4", "role": "main", "score": 60}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:00.448002+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:37:29.443592+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "350928179281d8290372822bc8012875d45fa033943aa6df2afd5239ddfe5959", "fetched_at": "2026-08-28T04:10:00.448002+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kevin-wayne/algs4"}, {"content_hash": "825ca790e2fea33ca656cc9e81aae8688852d4ececafb3ccb7419be3c2d283c6", "fetched_at": "2026-08-29T08:32:59.332945+00:00", "kind": "homepage", "missing": false, "url": "http://algs4.cs.princeton.edu/code/"}, {"content_hash": "ad1e95aef60f12d9f1684d234992ec4243c83aefc3d032d08fe8670d94a0aaa8", "fetched_at": "2026-08-29T08:32:59.342901+00:00", "kind": "site_page", "missing": false, "url": "https://algs4.cs.princeton.edu/faq"}, {"content_hash": "ffe93dbabf1f7416ea9338c2e79a362f0252516f1b3247d252c435ca531093b8", "fetched_at": "2026-08-29T08:32:59.344767+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/windows"}, {"content_hash": "1f679bd5b3835a5393b02b835cbde0294a9c2b8d75d90a8ed3c2f964007e916b", "fetched_at": "2026-08-29T08:32:59.346824+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/mac"}, {"content_hash": "af6328486cd4b4e3f5bb1560cd30ba82cf320e3abfe61195d22ca7ffa6950a7f", "fetched_at": "2026-08-29T08:32:59.348916+00:00", "kind": "site_page", "missing": false, "url": "https://lift.cs.princeton.edu/java/linux"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 61, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4020, "days_push": 235, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 60, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}