Skip to content

Common code and interview problems solved in multiple languages

License

Notifications You must be signed in to change notification settings

llpj/code-problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Problems

This is my repo full of code problems that I have completed prior to or during an interview. I hope that all these problems (and solutions) are useful to practice against and review. Feel free to contribute any solutions and optimisations, given they are algorithmic optimisations. Please add your own problems that you find as well, as I would love to see them.

Problems

Sorting Algorithms

Data Structures

DOM-based Solutions

Shortest Code Solutions

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

Indentation should be set to two spaces. Consider adding an entry on the problems list above where applicable.

Please lint and test your code with any means available - currently only JavaScript has tests and linting via Mocha and JSHint.

Testing

npm install # Installs `mocha` and any other dependencies needed to run
npm test    # Runs the testing scripts

About

Common code and interview problems solved in multiple languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 33.9%
  • Java 19.0%
  • C 13.3%
  • C++ 9.1%
  • Python 8.2%
  • CoffeeScript 7.7%
  • Other 8.8%