algorithm

command module
v0.0.0-...-eece359 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 1 Imported by: 0

README

Algorithm Implementations in Golang

This repository contains various algorithms implemented in the Go programming language. The algorithms are categorized according to their type, such as btree, ratelimit, skip-list and dynamic programming.

The list of algorithms implemented in this repository is as follows:
no name is complete
1 skip list
2 b tree
3 bp tree ing
4 ratelimit
5 radix tree
6 quorum nwr
7 zab / vs / paxos / raft
8 lru / lfu / fifo ing
9 random sampling without replacement
10 cpu cache line test

Getting Started

Prerequisites

To run the programs in this repository, you need to have Go installed on your machine. You can download and install Go from the official website: https://golang.org/dl/

Installation

To download the code in this repository, you can either download the ZIP file or clone the repository using Git:

Usage

Do not need to use it, just for learning.

Contributing

Contributions are always welcome. If you have implemented an algorithm in Go that is not already present in this repository, you can create a pull request with your implementation.

License

This repository is licensed under the MIT License. See the LICENSE file for more information.

Documentation

Overview

* @Author: zengzh * @Date: 2022-12-29 13:12:27 * @Last Modified by: zengzh * @Last Modified time: 2023-01-02 16:14:10

Directories

Path Synopsis
* @Author: zengzh * @Date: 2023-01-06 16:30:53 * @Last Modified by: zengzh * @Last Modified time: 2023-01-07 13:27:36
* @Author: zengzh * @Date: 2023-01-06 16:30:53 * @Last Modified by: zengzh * @Last Modified time: 2023-01-07 13:27:36
https://www.duguying.net/article/set-cpu-affinity-binding-for-golang-program
https://www.duguying.net/article/set-cpu-affinity-binding-for-golang-program
https://juejin.cn/post/7056068978862456846
https://juejin.cn/post/7056068978862456846
* @Author: zengzh * @Date: 2023-05-09 12:31:31 * @Last Modified by: zengzh * @Last Modified time: 2023-05-09 13:48:15
* @Author: zengzh * @Date: 2023-05-09 12:31:31 * @Last Modified by: zengzh * @Last Modified time: 2023-05-09 13:48:15
* @Author: zengzh * @Date: 2023-06-26 09:14:55 * @Last Modified by: zengzh * @Last Modified time: 2023-06-28 09:23:19
* @Author: zengzh * @Date: 2023-06-26 09:14:55 * @Last Modified by: zengzh * @Last Modified time: 2023-06-28 09:23:19
https://studygolang.com/articles/22491
https://studygolang.com/articles/22491
* @Author: zengzh * @Date: 2023-02-20 14:38:56 * @Last Modified by: zengzh * @Last Modified time: 2023-02-20 16:06:41
* @Author: zengzh * @Date: 2023-02-20 14:38:56 * @Last Modified by: zengzh * @Last Modified time: 2023-02-20 16:06:41

Jump to

Keyboard shortcuts

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