{"id":19901245,"url":"https://github.com/vbrazhnik/push_swap","last_synced_at":"2025-08-08T06:07:59.090Z","repository":{"id":220985363,"uuid":"148332232","full_name":"VBrazhnik/Push_swap","owner":"VBrazhnik","description":"School 42 project // Sorting algorithm using two stacks","archived":false,"fork":false,"pushed_at":"2018-12-13T04:27:41.000Z","size":2670,"stargazers_count":46,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-02T23:35:53.270Z","etag":null,"topics":["42","42projects","42school","born2code","c","sorting","sorting-algorithms","unitfactory","visualization"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/VBrazhnik.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":"2018-09-11T14:40:25.000Z","updated_at":"2025-02-20T18:37:26.000Z","dependencies_parsed_at":"2024-02-12T01:30:15.760Z","dependency_job_id":null,"html_url":"https://github.com/VBrazhnik/Push_swap","commit_stats":null,"previous_names":["vbrazhnik/push_swap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VBrazhnik/Push_swap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FPush_swap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FPush_swap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FPush_swap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FPush_swap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VBrazhnik","download_url":"https://codeload.github.com/VBrazhnik/Push_swap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FPush_swap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269373109,"owners_count":24406321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["42","42projects","42school","born2code","c","sorting","sorting-algorithms","unitfactory","visualization"],"created_at":"2024-11-12T20:14:27.861Z","updated_at":"2025-08-08T06:07:59.041Z","avatar_url":"https://github.com/VBrazhnik.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Push_swap\n\nPush_swap is a School 42 project. The purpose of this project is to create sorting algorithm.\n\n[`push_swap.en.pdf`](/push_swap.en.pdf) is the task file.\n\nYou can check [wiki-page](../../wiki/Algorithm) if you want to read description of created algorithm.\n\n### Benchmarks\n\nTo test my `push_swap` I used [own bash script](benchmark.sh).\n\nResult of solving 10 000 cases with **100 numbers**:\n\n![benchmark_100](/images/benchmark_100.png)\n\nResult of solving 10 000 cases with **500 numbers**:\n\n![benchmark_500](/images/benchmark_500.png)\n\n### Bonuses\n\nCreated `checker` has two additional modes:\n\n* `-v` — verbose mode\n* `-c` — color mode\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"/images/checker_(verbose_mode).png\" width=\"48%\" alt=\"checker (verbose mode)\" align=\"left\"/\u003e\n  \u003cimg src=\"/images/checker_(verbose_and_color_mode).png\" width=\"48%\" alt=\"checker (verbose and color mode)\"/\u003e\n\u003c/p\u003e\n\nAlso this project has a simple visualizer. **(macOS is only supported)**\n\n![visualizer](/images/visualizer.png)\n\n### How to clone?\n\nThis repository includes submodule. So if you want to clone it, you can use the following command:\n\n```\ngit clone --recurse-submodules \u003crepository url\u003e\n```\n\nIf you will use `git clone \u003crepository url\u003e` instead of, you will get the empty `libft` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbrazhnik%2Fpush_swap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbrazhnik%2Fpush_swap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbrazhnik%2Fpush_swap/lists"}