interview-prep

module
v0.0.0-...-8d8fcf7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2018 License: MIT

README

interview-prep

Go Report Card Build Status Coverage Status

This repository consists of the material that I wrote out (or looked up) while preparing for an interview.

Layout

Chapter X

Chapter X directories correspond to chapters in the Cracking the Coding Interview book.

Data structures

That directory contains a bunch of data structures that I either wrote or found.

Goroutines

This section consists of examples taken for The Go Programming Language book.

Run Tests:

Running benchmark test review

Run test in single directory:

go test -run=. -bench=.

Run tests in all directories:

go test ./... -run=. -bench=.

Directories

Path Synopsis
chapter1
chapter2
chapter8
data_structures
bst
goroutines
clock/example1 command
Clock1 is a TCP server that periodically writes the time
Clock1 is a TCP server that periodically writes the time
clock/example2 command
Clock1 is a TCP server that periodically writes the time
Clock1 is a TCP server that periodically writes the time
crawl/example1 command
go run crawl1.go https://en.wikipedia.org/wiki/Binary_search_algorithm
go run crawl1.go https://en.wikipedia.org/wiki/Binary_search_algorithm
crawl/example2 command
go run crawl2.go https://en.wikipedia.org/wiki/Binary_search_algorithm
go run crawl2.go https://en.wikipedia.org/wiki/Binary_search_algorithm
crawl/example3 command
go run crawl3.go https://en.wikipedia.org/wiki/Binary_search_algorithm
go run crawl3.go https://en.wikipedia.org/wiki/Binary_search_algorithm
du/example1 command
du/example2 command
du/example3 command
evens command
netcat/example1 command
Netcat1 is a read-only TCP client
Netcat1 is a read-only TCP client
netcat/example2 command
netcat/example3 command
pipeline/example3 command
Unidirectional Channels
Unidirectional Channels
reverb/example1 command
Notice that the third shout from the client is not dealt with until the second shout has petered out, which is not very realistic.
Notice that the third shout from the client is not dealt with until the second shout has petered out, which is not very realistic.
reverb/example2 command
spinner command
moderate_questions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL