Braden1996 / Cracking-the-Coding-Interview-TypeScript

Cracking the Coding Interview 6th Ed. TypeScript Solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CtCI-TS

Cracking the Coding Interview - TypeScript CircleCI

Cracking the Coding Interview 6th Ed. TypeScript Solutions.


Table of Contents πŸ“š

Instructions πŸ‘¨πŸΌβ€πŸ’»

  • This repository contains TypeScript attempts on questions listed in the book.

  • Under the directory for each question, you will find:

    • an index.test.ts containing unit-tests;
    • an index.ts containing devised solution(s).
  • As a standard, we use gitmoji for all commit messages. ✨

List of Coding Questions πŸ—‚

Chapter 1 Chapter 2 Chapter 3
βœ… 1.1 - Is Unique βœ… 2.1 - Remove Dups βœ… 3.1 - Three in One
βœ… 1.2 - Check Permutation βœ… 2.2 - Return Kth to Last βœ… 3.2 - Stack Min
βœ… 1.3 - URLify βœ… 2.3 - Delete Middle Node βœ… 3.3 - Stack of Plates
βœ… 1.4 - Palindrome Permutation βœ… 2.4 - Partition βœ… 3.4 - Queue via Stacks
βœ… 1.5 - One Away βœ… 2.5 - Sum Lists βœ… 3.5 - Sort Stack
βœ… 1.6 - String Compression βœ… 2.6 - Palindrome βœ… 3.6 - Animal Shelter
βœ… 1.7 - Rotate Matrix βœ… 2.7 - Intersection
βœ… 1.8 - Zero Matrix βœ… 2.8 - Loop Detection
βœ… 1.9 - String Rotation
Chapter 4 Chapter 5 Chapter 6
βœ… 4.1 - Route Between Nodes βœ… 5.1 - Insertion β˜‘οΈ 6.1 - Heavy Pill
βœ… 4.2 - Minimal Tree βœ… 5.2 - Binary to String οΈοΈοΈοΈοΈβ˜‘οΈ 6.2 - Basketball
βœ… 4.3 - List of Depths βœ… 5.3 - Flip Bit To Win β˜‘οΈ 6.3 - Dominos
βœ… 4.4 - Check Balanced βœ… 5.4 - Next Number β˜‘οΈ 6.4 - Ants on a Triangle
βœ… 4.5 - Validate BST βœ… 5.5 - Debugger β˜‘οΈ 6.5 - Jugs of Water
βœ… 4.6 - Successor βœ… 5.6 - Conversion β˜‘οΈ 6.6 - Blue-Eyed Island
βœ… 4.7 - Build Order βœ… 5.7 - Pairwise Swap β˜‘οΈ 6.7 - The Apocalypse
βœ… 4.8 - First Common Ancestor βœ… 5.8 - Draw Line β˜‘οΈ 6.8 - The Egg Drop Problem
βœ… 4.9 - BST Sequences β˜‘οΈ 6.9 - 100 Lockers
βœ… 4.10 - Check Subtree β˜‘οΈ 6.10 - Poison
βœ… 4.11 - Random Node
βœ… 4.12 - Paths with Sum
Chapter 7 Chapter 8 Chapter 9
βœ… 7.1 - Deck of Cards βœ… 8.1 - Triple Step ❌ 9.1 - Stock Data
βœ… 7.2 - Call Center βœ… 8.2 - Robot in a Grid ❌ 9.2 - Social Network
βœ… 7.3 - Jukebox βœ… 8.3 - Magic Index ❌ 9.3 - Web Crawler
βœ… 7.4 - Parking Lot βœ… 8.4 - Power Set ❌ 9.4 - Duplicate URLs
❌ 7.5 - Online Book Reader βœ… 8.5 - Recursive Multiply ❌ 9.5 - Cache
❌ 7.6 - Jigsaw βœ… 8.6 - Towers of Hanoi ❌ 9.6 - Sales Rank
❌ 7.7 - Chat Server βœ… 8.7 - Permutations without Dups ❌ 9.7 - Personal Financial Manager
❌ 7.8 - Othello βœ… 8.8 - Permutations with Dups ❌ 9.8 - Paste Bin
❌ 7.9 - Circular Array βœ… 8.9 - Parens
❌ 7.10 - Minesweeper βœ… 8.10 - Paint Fill
❌ 7.11 - File System βœ… 8.11 - Coins
❌ 7.12 - Hash Table βœ… 8.12 - Eight Queens
❌ 7.11 - File System βœ… 8.13 - Stack Boxes
❌ 7.12 - Hash Table βœ… 8.14 - Boolean Evaluation
Chapter 10
❌ 10.1 - Sorted Merge
❌ 10.2 - Group Anagrams
❌ 10.3 - Search In Rotated Array
❌ 10.4 - Sorted Search No Size
❌ 10.5 - Sparse Search
❌ 10.6 - Sort Big File
❌ 10.7 - Missing Int
❌ 10.8 - Find Duplicates
❌ 10.9 - Sorted Matrix Search
❌ 10.10 - Rank From Stream
❌ 10.11 - Peaks And Valleys

About

Cracking the Coding Interview 6th Ed. TypeScript Solutions


Languages

Language:TypeScript 99.9%Language:JavaScript 0.1%