{"id":15544932,"url":"https://github.com/developerwaleed/mob-programming","last_synced_at":"2025-08-16T09:09:46.977Z","repository":{"id":104931829,"uuid":"508198470","full_name":"developerwaleed/Mob-programming","owner":"developerwaleed","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-28T07:29:16.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-02T12:41:16.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/developerwaleed.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":"2022-06-28T07:28:08.000Z","updated_at":"2022-08-30T07:11:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"631a9982-8884-45c1-95b2-b4bc497e47ce","html_url":"https://github.com/developerwaleed/Mob-programming","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developerwaleed/Mob-programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerwaleed%2FMob-programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerwaleed%2FMob-programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerwaleed%2FMob-programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerwaleed%2FMob-programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developerwaleed","download_url":"https://codeload.github.com/developerwaleed/Mob-programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developerwaleed%2FMob-programming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270690503,"owners_count":24628899,"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-16T02:00:11.002Z","response_time":91,"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":[],"created_at":"2024-10-02T12:40:48.055Z","updated_at":"2025-08-16T09:09:46.953Z","avatar_url":"https://github.com/developerwaleed.png","language":"JavaScript","readme":"## How to solve this challenge?\n\n1. Read the \"Challenge description\" below.\n2. Make changes to the [challenge.js](./challenge.js) file.\n3. Commit your changes.\n4. Wait for the result of the \"GitHub Classroom Workflow\" action. If it is green - congratulations, you solved this challenge! If not - try again!\n5. *You can watch an example of how to solve a challenge in the video linked in the theoretical lesson preceding this challenge.*\n\n\n## Challenge description\n\n\n### Min Stack\nCreate a Stack that contains the standard push and pop methods. It should also contain another method min that returns the minimum number in the Stack.\n\n#### Extra Credit\n\nAll operations should take O(1) time.\n\n#### Example\n\nThis is an example of a test case:\n\n```\nconst stack = new Stack()\n\nstack.push(3)\nstack.push(5)\nconsole.log(stack.min())\n// =\u003e 3\n\nstack.pop\nstack.push(7)\nconsole.log(stack.min())\n// =\u003e 3\n\nstack.push(2)\nconsole.log(stack.min())\n// =\u003e 2\n\nstack.pop\nconsole.log(stack.min())\n// =\u003e 3\n\n```\n\nGet stuck and need some hint?\nCheck below link: \n\n*https://gitlab.com/microverse/guides/coding_challenges/hints/blob/master/challenges/basic-data-structures/min-stack.md*\n\n\n### Troubleshooting\n\nIf you cannot see any auto-grading workflows on the [Actions](../../actions) page, learn how to fix it in [this repo](https://github.com/microverse-students/autograding-troubles-js/blob/main/README.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperwaleed%2Fmob-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloperwaleed%2Fmob-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloperwaleed%2Fmob-programming/lists"}