{"id":23929353,"url":"https://github.com/monamobeen/stackquiz","last_synced_at":"2026-05-16T15:05:38.850Z","repository":{"id":244430149,"uuid":"814605440","full_name":"MonaMobeen/StackQuiz","owner":"MonaMobeen","description":"Simple Stack Implementation (Array-Based)","archived":false,"fork":false,"pushed_at":"2024-06-14T09:16:32.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T01:50:11.200Z","etag":null,"topics":["stack"],"latest_commit_sha":null,"homepage":"","language":"C++","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/MonaMobeen.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":"2024-06-13T10:35:17.000Z","updated_at":"2025-02-09T16:55:30.000Z","dependencies_parsed_at":"2024-06-14T17:42:43.893Z","dependency_job_id":"91c5a8a4-3c3d-4d43-949d-f789db436312","html_url":"https://github.com/MonaMobeen/StackQuiz","commit_stats":null,"previous_names":["monamobeen/stackquiz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MonaMobeen/StackQuiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonaMobeen%2FStackQuiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonaMobeen%2FStackQuiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonaMobeen%2FStackQuiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonaMobeen%2FStackQuiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MonaMobeen","download_url":"https://codeload.github.com/MonaMobeen/StackQuiz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonaMobeen%2FStackQuiz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33107571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["stack"],"created_at":"2025-01-05T23:16:55.074Z","updated_at":"2026-05-16T15:05:38.828Z","avatar_url":"https://github.com/MonaMobeen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instructions\nThis assignment involves analyzing and correcting a buggy stack implementation.\n\n## Part 1: Identifying and Fixing Bugs\n\nReview the Code: Open the stack.cpp file and examine the code for the Stack class.\nIdentify Errors: Look for lines that might be causing unexpected behavior.  \n\nAre the conditions in isEmpty() and isFull() accurate?\n\nIs the top variable used correctly to track the stack position?\n\n## Fix the Code:\n\n Once you've identified the bugs, modify the problematic lines in stack.cpp to correct the functionality.  \n\n## Part 2: Testing and Verification\n\nCompile and Run: After fixing the bugs, compile and run the code.  \n\nTest Functionality: Use the push and pop methods of the Stack class to test its behavior. Verify that it now operates correctly according to the Last-In-First-Out (LIFO) principle.\n\n# Bonus Challenges:\n\nImplement a peek() function in stack.cpp to view the top element without removing it.\nExplore alternative ways to handle stack overflow and underflow conditions.\n\n## Resources:\n\nFor a refresher on stacks and LIFO:\nOnline tutorials and documentation on C++ arrays and stacks can be helpful resources.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonamobeen%2Fstackquiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonamobeen%2Fstackquiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonamobeen%2Fstackquiz/lists"}