{"id":16815717,"url":"https://github.com/robatron/piq","last_synced_at":"2025-03-17T12:29:19.662Z","repository":{"id":37954610,"uuid":"282367795","full_name":"robatron/piq","owner":"robatron","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-05T07:45:47.000Z","size":1964,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T22:18:01.839Z","etag":null,"topics":["interview-cake"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/robatron.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":"2020-07-25T04:08:21.000Z","updated_at":"2022-01-10T20:42:30.000Z","dependencies_parsed_at":"2024-11-23T16:41:30.422Z","dependency_job_id":null,"html_url":"https://github.com/robatron/piq","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/robatron%2Fpiq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robatron%2Fpiq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robatron%2Fpiq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robatron%2Fpiq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robatron","download_url":"https://codeload.github.com/robatron/piq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244033241,"owners_count":20386896,"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":["interview-cake"],"created_at":"2024-10-13T10:35:16.741Z","updated_at":"2025-03-17T12:29:19.629Z","avatar_url":"https://github.com/robatron.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIQ: Programming Interview Questions\n\nMy personal collection of software engineering interview questions and solutions for use and practice in software engineering interviews.\n\nAll solutions are written in TypeScript and **often intentionally ignore language features** to fit with the spirit of the questions, improve efficiency, or just to add additional challenge, e.g., not using `Array.prototype.reverse()` when asked to reverse an array. I chose TypeScript because I can use most of the JavaScript dev tooling, (which I think is excellent, especially the test tooling,) and adds typing which JS sorely needs.\n\nProgramming exercises and solutions are organized by collection under `src/`:\n\n-   `codesignal/`: [CodeSignal](https://codesignal.com/developers/interview-practice/) interview practice exercises\n-   `ctci-6th-ed/`: Exercises from the [_Cracking the Coding Interview, 6th Edition_](https://smile.amazon.com/Cracking-Coding-Interview-Programming-Questions/dp/0984782850/) book\n-   `interview-cake/`: Exercises from the [Interview Cake](https://www.interviewcake.com/) course (highly recommended!)\n-   `leetcode/`: Exercises from [LeetCode](https://leetcode.com/problemset/all/)\n-   `misc/`: Random coding exercises, algorithms, and data structures\n\n## Usage\n\nAll exercises are implemented as tests. Simply run `npm test` to run all of them once, or run `npm start` to start watching for changed files and rerunning related tests.\n\n## Notes\n\n-   [Cracking the Coding Interview, 6th Ed., by Gayle Laakmann-McDowell (PDF)](https://github.com/alxerg/Books-1/blob/master/Cracking%20the%20Coding%20Interview%2C%206th%20Edition%20189%20Programming%20Questions%20and%20Solutions.pdf)\n    -   [Solutions implemented in JavaScript](https://github.com/careercup/CtCI-6th-Edition-JavaScript)\n    -   [Solutions implemented in TypeScript (WIP)](https://github.com/Dante-101/ctci-6th-edition-typescript)\n-   [Using ESLint and Prettier in a TypeScript Project](https://www.robertcooper.me/using-eslint-and-prettier-in-a-typescript-project)\n-   Glassdoor interviews (w/ interview questions)\n    -   [Microsoft interviews](https://www.glassdoor.com/Interview/Microsoft-Software-Development-Engineer-Interview-Questions-EI_IE1651.0,9_KO10,39.htm) (Adjust filters as necessary)\n-   [Top 50 Programming Interview Questions](https://simpleprogrammer.com/programming-interview-questions/)\n-   [GeeksfoGeeks: Largest component on a grid](https://www.geeksforgeeks.org/largest-connected-component-on-a-grid/) (Good programming problems on this site)\n-   [LeetCode master problem set](https://leetcode.com/problemset/all/) - Huge collection of problems. Might be worth premium?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobatron%2Fpiq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobatron%2Fpiq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobatron%2Fpiq/lists"}