Git Product home page Git Product logo

ctci's Introduction

Answers/Notes to Cracking the Coding Interview, 6th Ed.

To join our Slack CTCI study group, send me your email. See our YouTube channel, with video of our beginner group meetings.

Gayle McDowell's crowdsourced CTCI solutions, by programming language.

This group will code through all 189 coding interview questions in Gayle McDowell's book "Cracking the Coding Interview" together. I'll do them in Java, but use any language you wish.

We meet on Skype each Saturday:

12 pm-1 pm PST on Skype. To join, put your Skype name in a reply to this Slack post.

Most software engineers study this book to interview at FAANG companies: Facebook, Apple, Amazon, Netflix, Google, Microsoft, etc.

I made 12 Slack channels for us. Please join them:

CTCI's official Facebook group.

CTCI's official Slack group.

VS Code is my code editor. I installed its Java Extension Pack.

I cloned Gayle's GitHub solutions and opened the /Java folder in VS Code. It instantly told me what to install and let me start running/debugging code with breakpoints, with NO configuration! Super easy.


If you forked this GitHub repo to your laptop, here's how to easily keep your fork up to date with mine as I add new code:

In directory of your /ctci folder in the terminal, type:

  1. git remote add upstream [email protected]:rayning0/ctci.git

  2. git fetch upstream

  3. git pull upstream master

  4. git push -f

Line 1 adds a remote repo called "upstream" to your fork, pointing to my GitHub repo.

Lines 2-4 update what "upstream" means, pulls the latest code from my /ctci repo, then force pushes it up to YOUR repo.

Since I'm don't want to type all these lines, I added these lines to my .bash_profile:

function grau { # update fork (part 1)
  git remote add upstream $1
}

function gupdate { # update fork (part 2)
  git fetch upstream
  git pull upstream master
  git push -f
}

You only need to type grau [email protected]:rayning0/ctci.git once.

In the future, as I add new code to my /ctci repo, you just cd to YOUR /ctci fork of mine and type gupdate. It will automatically pull my latest code.

If you don't have a .bash_profile, create this file in your home directory. After editing it, run the file by doing source ~/.bash_profile.

By Raymond Gan

ctci's People

Contributors

rayning0 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.