Skip to content

Commit 3e7fd8b

Browse files
committed
Merge branch 'main' of https://github.com/IdealisticINTJ/coding-challenges into challenge53
merge branch main
2 parents 86b44bf + dfb8de0 commit 3e7fd8b

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/go.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Go
20+
uses: actions/setup-go@v4
21+
with:
22+
go-version: '1.20'
23+
24+
- name: Build
25+
run: go build -v ./...
26+
27+
- name: Test
28+
run: go test -v ./...

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ Read: [The Art of Unix Programming](http://www.catb.org/~esr/writings/taoup/html
1919
### Huffman Coding Compression Tool
2020
- Developed a CLI tool for lossless data compression using Priority Queue (Min Heap) and Depth-First Search (DFS) algorithms.
2121
- Implemented compression and decompression functions.
22+
23+
### CLI Cut Tool
24+
- Implemented efficient field extraction using Go's string manipulation capabilities.
25+
- Utilized flag package to parse command-line arguments and provide flexible field selection options.
26+
27+
### Load Balancer
28+
- Load balancer distributes requests using a round-robin algorithm to evenly distribute load among active servers.
29+
- Health check mechanism periodically checks the health status of backend servers and removes unhealthy servers from the pool to prevent service disruptions.

0 commit comments

Comments
 (0)