Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robatron/piq


https://github.com/robatron/piq

interview-cake

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# PIQ: Programming Interview Questions

My personal collection of software engineering interview questions and solutions for use and practice in software engineering interviews.

All 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.

Programming exercises and solutions are organized by collection under `src/`:

- `codesignal/`: [CodeSignal](https://codesignal.com/developers/interview-practice/) interview practice exercises
- `ctci-6th-ed/`: Exercises from the [_Cracking the Coding Interview, 6th Edition_](https://smile.amazon.com/Cracking-Coding-Interview-Programming-Questions/dp/0984782850/) book
- `interview-cake/`: Exercises from the [Interview Cake](https://www.interviewcake.com/) course (highly recommended!)
- `leetcode/`: Exercises from [LeetCode](https://leetcode.com/problemset/all/)
- `misc/`: Random coding exercises, algorithms, and data structures

## Usage

All 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.

## Notes

- [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)
- [Solutions implemented in JavaScript](https://github.com/careercup/CtCI-6th-Edition-JavaScript)
- [Solutions implemented in TypeScript (WIP)](https://github.com/Dante-101/ctci-6th-edition-typescript)
- [Using ESLint and Prettier in a TypeScript Project](https://www.robertcooper.me/using-eslint-and-prettier-in-a-typescript-project)
- Glassdoor interviews (w/ interview questions)
- [Microsoft interviews](https://www.glassdoor.com/Interview/Microsoft-Software-Development-Engineer-Interview-Questions-EI_IE1651.0,9_KO10,39.htm) (Adjust filters as necessary)
- [Top 50 Programming Interview Questions](https://simpleprogrammer.com/programming-interview-questions/)
- [GeeksfoGeeks: Largest component on a grid](https://www.geeksforgeeks.org/largest-connected-component-on-a-grid/) (Good programming problems on this site)
- [LeetCode master problem set](https://leetcode.com/problemset/all/) - Huge collection of problems. Might be worth premium?