Skip to content

xxks-kkk/shuati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e76f491 · Feb 25, 2024
Oct 23, 2021
Sep 30, 2021
Jan 23, 2020
Feb 25, 2024
Jan 23, 2020
Nov 21, 2019
Jan 21, 2020
Feb 25, 2024
Jul 26, 2021
Nov 21, 2019
Jun 5, 2019
Nov 21, 2019
Dec 28, 2018
Sep 20, 2019
Dec 27, 2021
Jan 18, 2020
Mar 24, 2017
Sep 10, 2019
Dec 18, 2017
Sep 8, 2019
Sep 8, 2019
Jul 23, 2017
Nov 21, 2019

Repository files navigation

shuati

Build Status

This is the respository that I put my systematic algorithm learning into practice by solving various interview questions. This is also the place where I practice different programming languages.

Steps to developing a usable algorithm.

  • Model the problem.
  • Find an algorithm to solve it.
  • Fast enough? Fits in memory?
  • If not, figure out why not.
  • Find a way to address the problem.
  • Iterate until satisfied

Usage

The repo contains a mixture of different programming languages. To build and test solutions written in specific language, follow steps below:

C, C++

To build all C, C++ solutions, run

$ mkdir -p build && cd build && cmake .. && make -j4

Java

To build Java solutions, find Makefile inside the directory that program resides, and run make

Rust

To test all Rust solutions, run

$ cd rust
$ cargo test

Go

To test all Go solutions, run

$ cd shuati
$ go test ./...