{"id":19390163,"url":"https://github.com/bpstelios10/coursera-algos","last_synced_at":"2026-05-18T14:10:31.300Z","repository":{"id":206535522,"uuid":"710791326","full_name":"bpstelios10/coursera-algos","owner":"bpstelios10","description":"Coursera algorithms 1 (from Princeton Uni)","archived":false,"fork":false,"pushed_at":"2024-03-23T15:19:18.000Z","size":23054,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-17T14:35:09.934Z","etag":null,"topics":["algorithms","balanced-search-trees","data-structures","hashtable","java","mergesort","priority-queue","quicksort","symbol-tables","union-find"],"latest_commit_sha":null,"homepage":"https://www.coursera.org/learn/algorithms-part1","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpstelios10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-27T12:56:20.000Z","updated_at":"2023-12-20T10:36:18.000Z","dependencies_parsed_at":"2024-03-06T12:03:37.546Z","dependency_job_id":null,"html_url":"https://github.com/bpstelios10/coursera-algos","commit_stats":null,"previous_names":["bpstelios10/coursera-algos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bpstelios10/coursera-algos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpstelios10%2Fcoursera-algos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpstelios10%2Fcoursera-algos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpstelios10%2Fcoursera-algos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpstelios10%2Fcoursera-algos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpstelios10","download_url":"https://codeload.github.com/bpstelios10/coursera-algos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpstelios10%2Fcoursera-algos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33180419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","balanced-search-trees","data-structures","hashtable","java","mergesort","priority-queue","quicksort","symbol-tables","union-find"],"created_at":"2024-11-10T10:19:13.301Z","updated_at":"2026-05-18T14:10:31.257Z","avatar_url":"https://github.com/bpstelios10.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithms from coursera\n\n## Programming Assignments\n\n### Week 2\nTo run tests of week2 assignment, from commandline, you need to go to /week2-unions/build folder and run:\n```shell\njava -classpath :../../.lift/algs4.jar PercolationStats\n```\nand from intellij, just run PercolationStats::main\n\n### Week 3\nTo run tests of week3 assignment, from commandline, you need to go to /week3-queues/build folder and run:\n```shell\njava -classpath :../../.lift/algs4.jar Permutation 5 \u003c ../distinct.txt\n```\nand from intellij... no idea. the \"while file not empty\" line doesnt work\n\n### Week 4\nTo run tests of week4 assignment, from commandline, you need to go to /week4-collinear/build folder and run:\n```shell\njava -classpath :../../.lift/algs4.jar LineSegmentsClient ../input6.txt\n```\nNOTE: if it fails with error for GraphicsEnvironment, you should use `java` directly from your jdk/bin path\n\nand from intellij, just run LineSegmentsClient::main with argument \"week4-collinear/input6.txt\". Make sure working directory is coursera-algos.\n\n### Week 5\nTo run tests of week5 assignment, from commandline, you need to go to /week5-8puzzle/build folder and run:\n```shell\njava -classpath :../../.lift/algs4.jar PuzzleChecker ../puzzle04.txt\njava -classpath :../../.lift/algs4.jar Solver ../puzzle28.txt\n```\nand from intellij, just run PuzzleChecker::main with argument \"week5-8puzzle/puzzle04.txt\". Make sure working directory is coursera-algos.\nand from intellij, just run Solver::main with argument \"week5-8puzzle/puzzle28.txt\". Make sure working directory is coursera-algos.\n\n### Week 6\nTo run tests of week6 assignment, from commandline, you need to go to /week6-kdtree/build folder and run:\n```shell\njava -classpath :../../.lift/algs4.jar NearestNeighborVisualizer ../input10.txt\njava -classpath :../../.lift/algs4.jar RangeSearchVisualizer ../input10K.txt\n```\nNOTE: if it fails with error for GraphicsEnvironment, you should use `java` directly from your jdk/bin path\n\nand from intellij, just run NearestNeighborVisualizer::main with argument \"week6-kdtree/input10.txt\". Make sure working directory is coursera-algos.\nand from intellij, just run RangeSearchVisualizer::main with argument \"week6-kdtree/input10K.txt\". Make sure working directory is coursera-algos.\n\n## Interview Questions\nNOTE: checkstyle is disabled for the following code, since it is not a requirement to follow the course-specific rules\n\n### Week1\n\n#### Union-Find\nTo run the assignment from commandline, from root path, run:\n```shell\njava -classpath 'interview-questions\\build;.lift/algs4.jar' week1.union_find.SocialNetworkConnectivity\njava -classpath 'interview-questions\\build;.lift/algs4.jar' week1.union_find.ExtendedUFTest\njava -classpath 'interview-questions\\build;.lift/algs4.jar' week1.union_find.MinSuccessorTrackerTest\n```\nand from intellij, just execute:\nSocialNetworkConnectivity::main\nExtendedUFTest::main\nMinSuccessorTrackerTest::main\n\n#### Algorithms-Analysis\nTo run the assignment from commandline, from root path, run:\n```shell\njava -classpath 'interview-questions\\build;.lift/algs4.jar' week1.algorithm_analysis.ThreeSumQuadraticTest\n```\nand from intellij, just execute:\nThreeSumQuadraticTest::main\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpstelios10%2Fcoursera-algos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpstelios10%2Fcoursera-algos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpstelios10%2Fcoursera-algos/lists"}