• Stars
    star
    206
  • Rank 189,391 (Top 4 %)
  • Language
    JavaScript
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

My answers to LeetCode, HackerRank, company code challenge problems, + "Cracking the Coding Interview." All my Data Structures + Algorithm posts: https://www.linkedin.com/search/results/all/?keywords=%23raymonddsa&sid=4YJ. Join our Slack group "LinkedIn Junior Engineers": https://bit.ly/3P7tMja

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

See all my LinkedIn Data Structures & Algorithms posts.

Join our Slack group LinkedIn Junior Engineers.

We don't have weekly meetings now. If I have time in the future, I may restart this study group.


See all my LeetCode solutions. My Codility solutions. My Project Euler solutions. My HackerRank solutions.

In January 2020, we began solving the 150 coding questions from this course: Grokking the Coding Interview, as I explain here and here. Buy the course for $79 to see it all. It's optional to buy the course. See all my coding answers for it.


See our YouTube channel for video of our group meetings. I don't update this much. You should come to our meetings.

See my 2.5 hour YouTube video interview: How to be competitive for software jobs, which covers my 5 LinkedIn articles for bootcamp grads.

This group codes through company code challenge problems and all 189 coding interview questions in Gayle McDowell's book "Cracking the Coding Interview" together. Weā€™ll try to solve 1+ company code challenge per meeting. To post code challenges for our group to solve, put them in our private Zoom Slack channel. Use any computer language you wish.

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

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

I made these Slack channels for us. Please join them all:

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 don't want to type all these lines, I added them 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, 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

More Repositories

1

FAANG_interview_prep

Interview prep materials sent me by FAANG companies. My LinkedIn post: https://bit.ly/3XWlwHX. Google Tech Dev Guide: https://techdevguide.withgoogle.com. Google Interview Prep: https://techdevguide.withgoogle.com/paths/interview
83
star
2

codility

Solutions to all 17 Codility lessons in data structures and algorithms.
Ruby
35
star
3

Princeton-Algorithms-Java

My solutions to Robert Sedgewick's fantastic Princeton courses on Algorithms/Data Structures (http://algs4.cs.princeton.edu/home/) and Intro to Programming in Java (http://introcs.cs.princeton.edu/java/home/)
Java
34
star
4

eloquent-js

Homework problems/examples from book "Eloquent JavaScript." Tests are in Jest.
JavaScript
21
star
5

ProjectEuler-and-Algorithms

50 Project Euler solutions (http://projecteuler.net/problems)! CodeEval (https://www.codeeval.com/open_challenges/) and algorithm problems. See /euler, /codeeval, and /algo directories. Please do NOT see my solution for a problem unless you have first tried it yourself. (Also, see my repo on RubyQuiz, CodeWars, InterviewCake, and other challenge questions. Plus see my Test-First Ruby and App Academy solutions.)
Ruby
21
star
6

poodr

My notes for Sandi Metz's great OOD book, "Practical Object-Oriented Design in Ruby." Rewrote her tests from Minitest to RSpec.
Ruby
11
star
7

go-database

Golang In-Memory Database, from scratch. For a code challenge.
Go
10
star
8

create-your-own-programming-language

Making my own programming language, following ideas of Marc-AndrƩ Cournoyer.
Ruby
8
star
9

rebuilding-rails

Built a simple version of Rails, completely from SCRATCH. My version of "Rebuilding Rails" by Noah Gibbs.
Ruby
7
star
10

software_salaries

Latest US software salary reports. My 2023 post on it: https://www.linkedin.com/posts/activity-7039071885044682752-M4i9
7
star
11

qa-dominos

QA end-to-end test of Domino's Pizza website, with Cypress. LinkedIn post: https://bit.ly/3x0bYPX
JavaScript
6
star
12

go-interpreter-compiler

My own interpreter and compiler in Golang, for Monkey programming language
Go
5
star
13

griddy

Golang project reads in start/end times and returns average real-time energy price (cents/kWh) from Commonwealth Edison
Go
5
star
14

cherry

Online Ruby code editor and RSpec tester (REPL). Upload your RSpec tests. Upload your Ruby code. Edit your code online directly. Test it with 1 click! See my video demo of it on YouTube:
JavaScript
5
star
15

rubyquiz

My answers to RubyQuiz, CodeWars, InterviewCake, and other coding challenge sites. (Also, see my repos on Project Euler and algorithms, Test-First Ruby, and App Academy problems.)
Ruby
5
star
16

react-fish-store

Seafood market in React.js. Authenticated users can add/edit/delete fish details and customer orders, in real-time.
JavaScript
4
star
17

codementor

Codementor projects, including sample Yelp restaurant challenge for OneInterview
Ruby
4
star
18

elixir-web-server

Making HTTP web server (a mini Phoenix) from scratch in Elixir
Elixir
4
star
19

rsvp-app

Ruby on Rails app. Lets you invite users to events and RSVP for all users at once. Lets you create/delete events. A super simple version of Evite.
Ruby
4
star
20

rayning0

3
star
21

Stanford-Machine-Learning

I took part of Andrew Ng's Machine Learning class at Stanford. See folders called "/ex" for my homework solutions. We used Octave and Gnuplot to analyze and plot data.
MATLAB
3
star
22

owning-rails

Building mini-version of Ruby on Rails from scratch, following ideas of Marc-AndrƩ Cournoyer
Ruby
2
star
23

Stanford-CS106A

Java homework for Stanford CS 106A (Intro to CS, Programming Methodology)
Java
2
star
24

rayplay

Play YouTube videos repeatedly and make your own playlist, with YouTube API v3 and Fullscreen's yt gem. Try it: http://rayplay.herokuapp.com.
Ruby
2
star
25

fingerprint-management-ruby-003

A lab on fingerprint recognition
Ruby
2
star
26

nand2tetris

Nand2Tetris (http://www.nand2tetris.org), or Harvard CS 101. Building the hardware/software of a virtual computer from ground up.
Assembly
2
star
27

game-of-life-ruby

My 2 versions of Game of Life, in Ruby, with TDD: 1) Color graphics version, with Gosu. 2) Text version, with Unicode characters. See YouTube video of my game: https://www.youtube.com/watch?v=WsJ4qKSq_Fc
Ruby
2
star
28

App-Academy-Practice-Problems

Practice problems for App Academy, using RSpec for Test-Driven Development. My solutions are in /lib directory. App Academy's solutions are in /solution directory.
Ruby
2
star
29

rspec_maker

Automatically makes RSpec & Minitest test files, given an input data file
Ruby
2
star
30

algorithms_coursera

Learning algorithms via Sedgewick's Algorithms I & II class on Coursera.
Python
1
star
31

Test-First-Ruby

Practice problems from Test-First Ruby (http://testfirst.org/learn_ruby). My solutions are in /lib directory.
Ruby
1
star
32

suretax

Modified version of "suretax" gem. Calls SureTax API to get tax info, given ZIP code, etc.
Ruby
1
star
33

zprofile

My .zprofile, aliases, and VS Code settings. Instead of copying VS Code settings files, use Settings Sync: https://code.visualstudio.com/docs/editor/settings-sync
Shell
1
star
34

maze-solver-ruby-003

Implementing breadth-first-search algorithm
Ruby
1
star
35

twitter-stream

Twitter Challenge
Ruby
1
star