• Stars
    star
    11,236
  • Rank 2,976 (Top 0.06 %)
  • Language
    Java
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cracking the Coding Interview 6th Ed. Solutions

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:

  • If you want to make a local clone of solutions in all languages, you should use the --recursive option:

      git clone --recursive https://github.com/careercup/CtCI-6th-Edition.git
    
  • If you're only interested in the Java solutions:

      git clone https://github.com/careercup/CtCI-6th-Edition.git
    
  • If you originally cloned without --recursive, and then later decide you want the git submodules too, run:

      git submodule update --init --recursive
    

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.

More Repositories

1

ctci

Cracking the Coding Interview, 5th Edition
Java
5,134
star
2

CtCI-6th-Edition-Python

Cracking the Coding Interview 6th Ed. Python Solutions
Python
4,958
star
3

CtCI-6th-Edition-JavaScript

Cracking the Coding Interview 6th Ed. JavaScript Solutions
JavaScript
3,114
star
4

CtCI-6th-Edition-cpp

Cracking the Coding Interview 6th Ed. C++ Solutions
C++
1,352
star
5

CtCI-6th-Edition-JavaScript-ES2015

Cracking the Coding Interview 6th Ed. JavaScript ES2015 Solutions
JavaScript
829
star
6

CtCI-6th-Edition-Swift

Cracking the Coding Interview 6th Ed. Swift Solutions
Swift
461
star
7

CtCI-6th-Edition-CSharp

Cracking the Coding Interview 6th Ed. Solutions (C# Port)
C#
327
star
8

CtCI-6th-Edition-Go

Cracking the Coding Interview 6th Ed. Go Solutions
Go
119
star
9

CtCI-6th-Edition-Ruby

Ruby
91
star
10

CtCI-6th-Edition-php

Cracking the Coding Interview 6th Ed. PHP Solutions
PHP
88
star
11

CtCI-6th-Edition-Clojure

Cracking the Coding Interview 6th Ed. Clojure Solutions
Clojure
74
star
12

CtCI-6th-Edition-C

Cracking the Coding Interview 6th Ed. C Solutions
C
62
star
13

CtCI-6th-Edition-Kotlin

Cracking the Coding Interview with Kotlin
Kotlin
57
star
14

CtCI-6th-Edition-Haskell

Cracking the Coding Interview 6th Ed. Haskell Solutions
Haskell
21
star
15

CtCI-6th-Edition-Objective-C

Cracking the Coding Interview 6th Ed. Objective-C Solutions
Objective-C
11
star
16

CtCI-6th-Edition-Julia

Solutions for Cracking the Coding Interview 6th Edition by Gayle Laakmann McDowell (in Julia programming language)
Julia
9
star
17

CtCI-6th-Edition-Groovy

Cracking the Coding Interview 6th Ed. Groovy Solutions
Groovy
5
star