{"id":24818388,"url":"https://github.com/musamairshad/hackerrank-practice","last_synced_at":"2026-04-11T07:02:58.051Z","repository":{"id":82685817,"uuid":"575553329","full_name":"musamairshad/HackerRank-Practice","owner":"musamairshad","description":"Solutions to HackerRank practice problems.","archived":false,"fork":false,"pushed_at":"2024-02-26T10:42:37.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T17:07:47.268Z","etag":null,"topics":["30-days-of-code","competitive-programming","cpp","databases","es6","hackerrank","hackerrank-30dayschallange","hackerrank-java","hackerrank-python","hackerrank-solutions","hackerrank-sql","java","javascript","logic-building","mysql","problem-solving","programming-exercises","python","sql","sql-basics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/musamairshad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-07T19:16:21.000Z","updated_at":"2024-04-18T19:53:56.000Z","dependencies_parsed_at":"2023-03-12T16:26:52.740Z","dependency_job_id":"0dd4213d-9167-4dae-8ecc-3236eee95cc7","html_url":"https://github.com/musamairshad/HackerRank-Practice","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/musamairshad%2FHackerRank-Practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musamairshad%2FHackerRank-Practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musamairshad%2FHackerRank-Practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/musamairshad%2FHackerRank-Practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/musamairshad","download_url":"https://codeload.github.com/musamairshad/HackerRank-Practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245529493,"owners_count":20630385,"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":["30-days-of-code","competitive-programming","cpp","databases","es6","hackerrank","hackerrank-30dayschallange","hackerrank-java","hackerrank-python","hackerrank-solutions","hackerrank-sql","java","javascript","logic-building","mysql","problem-solving","programming-exercises","python","sql","sql-basics"],"created_at":"2025-01-30T17:07:57.095Z","updated_at":"2026-04-11T07:02:58.038Z","avatar_url":"https://github.com/musamairshad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/77895050/219934184-0dca4268-6df9-4400-8c08-4563f04f19ba.png\" width=\"800\" height=\"200\"\u003e\n\n\n# Solutions to HackerRank practice problems.\n\n- 30 Days of Code\n  - Day 0\n    - Hello, World | [Problem](https://www.hackerrank.com/challenges/30-hello-world/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%200.%20Hello%2C%20World.py) | Score : 30\n  - Day 1\n    - Data Types | [Problem](https://www.hackerrank.com/challenges/30-data-types/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%201.%20Data%20Types.py) | Score : 30\n  - Day 2\n    - Operators | [Problem](https://www.hackerrank.com/challenges/30-operators/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%202.%20Operators.py) | Score : 30\n  - Day 3\n    - Intro to Conditional Statements | [Problem](https://www.hackerrank.com/challenges/30-conditional-statements/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%203.%20Intro%20to%20Conditional%20Statements.py) | Score : 30\n  - Day 4\n    - Class vs. Instance | [Problem](https://www.hackerrank.com/challenges/30-class-vs-instance/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%204.%20Class%20vs.%20Instance.py) | Score : 30\n  - Day 5\n    - Loops | [Problem](https://www.hackerrank.com/challenges/30-loops/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%205.%20Loops.py) | Score : 30\n  - Day 6\n    - Let's Review | [Problem](https://www.hackerrank.com/challenges/30-review-loop/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%206.%20Let's%20Review.py) | Score : 30\n  - Day 7\n    - Arrays | [Problem](https://www.hackerrank.com/challenges/30-arrays/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/30%20Days%20of%20Code/Day%207.%20Arrays.py) | Score : 30 \n\n- Python\n  - Introduction\n    - Say Hello, World! With Python | [Problem](https://www.hackerrank.com/challenges/py-hello-world/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/001.%20Say%20Hello%2C%20World%20With%20Python.py) | Score : 5\n    - Python If-Else | [Problem](https://www.hackerrank.com/challenges/py-if-else/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/002.%20Python%20If-Else.py) | Score : 10\n    - Arithmetic Operators | [Problem](https://www.hackerrank.com/challenges/python-arithmetic-operators/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/003.%20Arithmetic%20Operators.py) | Score : 10\n    - Python Division | [Problem](https://www.hackerrank.com/challenges/python-division/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/004.%20Python%20Division.py) | Score : 10\n    - Loops | [Problem](https://www.hackerrank.com/challenges/python-loops/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/005.%20Loops.py) | Score : 10\n    - Write a function | [Problem](https://www.hackerrank.com/challenges/write-a-function/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/006.%20Write%20a%20function.py) | Score : 10\n    - Print Function | [Problem](https://www.hackerrank.com/challenges/python-print/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/01.%20Introduction/007.%20Print%20Function.py) | Score : 20\n  - Basic Data Types\n    - List Comprehensions | [Problem](https://www.hackerrank.com/challenges/list-comprehensions/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/02.%20Basic%20Data%20Types/001.%20List%20Comprehensions.py) | Score :  10\n    - Find the Runner-Up Score! | [Problem](https://www.hackerrank.com/challenges/find-second-maximum-number-in-a-list/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/02.%20Basic%20Data%20Types/002.%20Find%20the%20Runner-Up%20Score!.py) | Score : 10\n  - Strings\n    - sWAP cASE | [Problem](https://www.hackerrank.com/challenges/swap-case/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/03.%20Strings/001.%20sWAP%20cASE.py) | Score : 10\n    - String Split and Join | [Problem](https://www.hackerrank.com/challenges/python-string-split-and-join/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/03.%20Strings/002.%20String%20Split%20and%20Join.py) | Score : 10\n    - What's Your Name | [Problem](https://www.hackerrank.com/challenges/whats-your-name/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/03.%20Strings/003.%20What's%20Your%20Name.py) | Score : 10\n    - Mutations | [Problem](https://www.hackerrank.com/challenges/python-mutations/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/03.%20Strings/004.%20Mutations.py) | Score : 10\n  - Sets\n    - Set add() | [Problem](https://www.hackerrank.com/challenges/py-set-add/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/04.%20Sets/004.%20Set%20add().py) | Score : 10\n    - Set union() Operation | [Problem](https://www.hackerrank.com/challenges/py-set-union/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/04.%20Sets/005.%20Set%20union()%20Operation.py) | Score : 10\n    - Set intersection() Operation | [Problem](https://www.hackerrank.com/challenges/py-set-intersection-operation/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/04.%20Sets/006.%20Set%20intersection()%20Operation.py) | Score : 10\n  - Math\n    - Mod Divmod | [Problem](https://www.hackerrank.com/challenges/python-mod-divmod/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/05.%20Math/004.%20Mod%20Divmod.py) | Score : 10\n    - Power - Mod Power | [Problem](https://www.hackerrank.com/challenges/python-power-mod-power/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/05.%20Math/005.%20Power%20-%20Mod%20Power.py) | Score : 10\n  - Itertools\n    - itertools.product() | [Problem](https://www.hackerrank.com/challenges/itertools-product/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/06.%20Itertools/001.%20itertools.product().py) | Score : 10\n  - Numpy\n    - Arrays | [Problem](https://www.hackerrank.com/challenges/np-arrays/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/Python/16.%20Numpy/001.%20Arrays.py) | Score : 20\n    \n- SQL\n  - Basic Select\n    - Revising the Select Query I | [Problem](https://www.hackerrank.com/challenges/revising-the-select-query/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/001.%20Revising%20the%20Select%20Query%20I.sql) | Score : 10\n    - Revising the Select Query II | [Problem](https://www.hackerrank.com/challenges/revising-the-select-query-2/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/002.%20Revising%20the%20Select%20Query%20II.sql) | Score : 10\n    - Select All | [Problem](https://www.hackerrank.com/challenges/select-all-sql/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/003.%20Select%20All.sql) | Score : 10\n    - Select By ID | [Problem](https://www.hackerrank.com/challenges/select-by-id/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/004.%20Select%20By%20ID.sql) | Score : 10\n    - Japanese Cities' Attributes | [Problem](https://www.hackerrank.com/challenges/japanese-cities-attributes/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/005.%20Japanese%20Cities'%20Attributes.sql) | Score : 10\n    - Japanese Cities' Names | [Problem](https://www.hackerrank.com/challenges/japanese-cities-name/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/006.%20Japanese%20Cities'%20Names.sql) | Score : 10\n    - Weather Observation Station 1 | [Problem](https://www.hackerrank.com/challenges/weather-observation-station-1/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/007.%20Weather%20Observation%20Station%201.sql) | Score : 15\n    - Weather Observation Station 3 | [Problem](https://www.hackerrank.com/challenges/weather-observation-station-3/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/008.%20Weather%20Observation%20Station%203.sql) | Score : 10\n    - Weather Observation Station 4 | [Problem](https://www.hackerrank.com/challenges/weather-observation-station-4/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/009.%20Weather%20Observation%20Station%204.sql) | Score : 10\n    - Employee Names | [Problem](https://www.hackerrank.com/challenges/name-of-employees/problem) | [Solution](https://github.com/musamairshad/HackerRank-Practice/blob/master/SQL/01.%20Basic%20Select/019.%20Employee%20Names.sql) | Score : 10\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusamairshad%2Fhackerrank-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusamairshad%2Fhackerrank-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusamairshad%2Fhackerrank-practice/lists"}