CtCI-6th-Edition README

The project's README from github.com/careercup/CtCI-6th-Edition. As one markdown file: README.md.

CtCI-6th-Edition

Solutions for Cracking the Coding Interview 6th Edition by Gayle Laakmann McDowell.

Crowdsourcing solutions for every widely used programming language. Contributions welcome.

Cloning

Solutions in Java are contained directly in this repo and are the same solutions found in the book. Solutions in other programming languages are contributed by the community and each have their own dedicated repos which are referenced from this repo as git submodules. What this means for cloning:

Contributing

Work Flow

  1. Fork the appropriate repo for your language to your GitHub user. (see Where to submit pull requests)
  2. Write quality code and lint if applicable.
  3. Add tests if applicable.
  4. Open a pull request and provide a descriptive comment for what you did.

Where to submit pull requests

Pull requests pertaining to Java solutions should be submitted to the main CtCI-6th-Edition repo. Please submit pull requests for all other languages to the appropriate language-specific repo.

Adding a new Language

Solutions in other languages are welcome too and should follow this workflow:

  1. Create the new repo under your own GitHub user account and start contributing solutions. The repo name should follow this naming convention: CtCI-6th-Edition-<language>.
  2. Open an issue on the CtCI-6th-Edition repo to request that your solution repo be promoted to join the careercup GitHub organization and referenced from the main repo as a git submodule.
  3. If your request is approved, navigate to your repo's settings page and select the "Transfer Ownership" option, and specify "careercup" as the new owner.

CtCI-6th-Edition (careercup/CtCI-6th-Edition)

Searching Database…

Что это такое?Решения задач из книги 'Cracking the Coding Interview, 6th Edition' Гейл Лакманн Макдауэлл, которые сообщество собирает совместно на многих языках программирования, — в этом репозитории лежат решения на Java.
Всё хранится в этом одном репозитории или часть решений лежит где-то ещё?Здесь только Java; для каждого другого языка есть отдельный репозиторий сообщества, а этот репозиторий подключает его как git-сабмодуль.
Как мне склонировать репозиторий, чтобы точно получить все языки?Используйте 'git clone --recursive', чтобы сразу скачать все языки; обычный 'git clone' скачает только Java, а команда 'git submodule update --init --recursive' позже добавит остальные языки в уже существующий клон.
Моего языка нет — могут ли его добавить?Да: создайте репозиторий с именем CtCI-6th-Edition-YourLanguage под своим аккаунтом на GitHub и выкладывайте туда решения, затем откройте issue в основном репозитории с просьбой перенести его в организацию careercup в качестве сабмодуля.
Я нашёл баг в решении на Python — куда отправлять исправление?Не в этот репозиторий — в основной репозиторий CtCI-6th-Edition принимают pull request'ы только для Java; исправления для Python (как и для всех остальных языков) отправляются в отдельный репозиторий этого языка.
Решения на Java в точности те же, что в книге?Да — в README сказано, что решения на Java в этом репозитории совпадают с теми, что приведены в книге; решения на остальных языках написаны сообществом.
Creator
careercup
Size
21 MB
Stars
11.5K
Updated
CommitNov 13
Age
11y
Commits · 90 Days