Skip to content

LordMoMA/Grokking-the-Coding-Interview---Patterns-for-Coding-Questions

Repository files navigation

Grokking-the-Coding-Interview---Patterns-for-Coding-Questions

This repo contains LeetCode pattern solutions by JavaScript, Python and Golang with explanation.

If you need the test the JavaScript version:

  1. :bowtie: Go to each folder and locate the script.js file, copy each snippet code by each LeetCode question
  2. :trollface: Paste the code in the script.js file under the main directory
  3. :godmode: Download a Live Server extension (you don't need to reload the page everytime you run the js code)
  4. :octocat: Or open the html with Chrome
  5. :shipit: Press "option command + j" to see the result in the console ;)

If you need the test the Python version:

Just copy the code in the target file and paste it into the main.py file in the root directory, and then type: 'python main.py' in the terminal under the root directory.

If you need the test the Golang version:

Just copy the code in the target file and paste it into the main.go file in the root directory, and then type: 'go run main.go' in the terminal under the root directory.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy