Coder Social home page Coder Social logo

mccreathbecky / coding-interviews Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 84 KB

Short Solutions for Common Coding Interview Questions

C 98.19% C++ 1.81%
interview-practice interview-preparation c mergesort-algorithm quicksort-algorithm hashtables

coding-interviews's Introduction

coding-interviews

Hello if you're reading this! I created this repository with my solutions/experiments with various questions I was told to expect in coding interviews, particularly for Google. I'm most familiar with C, and I found it hard to find good youtube videos with accompanying code for C, so please let me know if this helps you out! Anything preceded by a number is an example problem from LeetCode https://leetcode.com/problemset/all/

Working code includes:

  • MergeSort
  • QuickSort
  • 1TwoSum
  • 2AddTwoNums
  • [Mostly] HashTables
  • myFirstTree

Work In Progress includes:

  • 3LongestSub

The main things I hope to add in here are:

  • Solutions to common NP complex problems like travelling salesman or knapsack problem

Setup and Run

If you're on a Windows computer, you can follow my development environment by installing/doing the following:

  1. Install Git here: https://git-scm.com/downloads
  2. Install VS Code here: https://code.visualstudio.com/download
  3. Install C/C++ extension for VS Code by searching ms-vscode.cpptools in the Extensions window
  4. Clone this repository to your machine using
cd <your-directory-path>
git clone <https://github.com/mccreathbecky/coding-interviews.git>
  1. Download Developer Command Prompt for VS 2017
  2. Navigate to your directory in the command prompt and run a file using
cd <your-directory-path>
cl quickSort.c
quickSort.exe
  1. Happy Days!

coding-interviews's People

Contributors

mccreathbecky 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.