{"id":20622062,"url":"https://github.com/andersonhsporto/ft-push-swap","last_synced_at":"2026-06-06T15:02:42.986Z","repository":{"id":103561749,"uuid":"430213727","full_name":"andersonhsporto/ft-push-swap","owner":"andersonhsporto","description":"Sort Data on a Stack, With a Limited Set of Instructions, Using the Lowest Possible Number of Actions","archived":false,"fork":false,"pushed_at":"2022-03-24T00:11:33.000Z","size":10074,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T05:29:08.568Z","etag":null,"topics":["algorithm","algorithm-implementations","c","linked-list","linked-list-in-c","merge-sort","merge-sort-algorithm","sorting-algorithms"],"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/andersonhsporto.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,"publiccode":null,"codemeta":null}},"created_at":"2021-11-20T21:32:18.000Z","updated_at":"2023-11-09T11:59:24.000Z","dependencies_parsed_at":"2023-03-16T05:00:34.822Z","dependency_job_id":null,"html_url":"https://github.com/andersonhsporto/ft-push-swap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-push-swap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-push-swap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-push-swap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonhsporto%2Fft-push-swap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersonhsporto","download_url":"https://codeload.github.com/andersonhsporto/ft-push-swap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242299979,"owners_count":20105116,"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","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":["algorithm","algorithm-implementations","c","linked-list","linked-list-in-c","merge-sort","merge-sort-algorithm","sorting-algorithms"],"created_at":"2024-11-16T12:20:33.224Z","updated_at":"2026-06-06T15:02:42.969Z","avatar_url":"https://github.com/andersonhsporto.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ft-push-swap\n![norminette](https://github.com/andersonhsporto/ft-push-swap/workflows/norminette/badge.svg)\n### O objetivo deste projeto é ordenar números inteiros em uma stack utilizando um conjunto limitado de operações utilizando C.\n\u003chr\u003e\n\u003cbr\u003e\n\u003cstrong\u003eFunções Permitidas\u003c/strong\u003e\n\nAs funções permitidas no escopo deste projeto são:\n```\n• write\n• read\n• malloc\n• free\n• exit\n```\n\nCompile o programa utilizando **make**, o programa pode ser executado da seguinte forma:\n```sh\n./push_swap 9 8 7 6 5 4\n\n ARG=`ruby -e \"puts (1..100).to_a.shuffle.join(' ')\"`; ./push_swap $ARG\n```\n## Visualização\nExecução com 100 números aleatórios: *utilizando o visualizador em python [push_swap_visualizer](https://github.com/o-reo/push_swap_visualizer). \n\u003cbr\u003e\n\u003cbr\u003e\n![mandatory](https://github.com/andersonhsporto/ft-push-swap/blob/main/gif/vis.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonhsporto%2Fft-push-swap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersonhsporto%2Fft-push-swap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonhsporto%2Fft-push-swap/lists"}