{"id":37185148,"url":"https://github.com/luigiandrea/gopearls","last_synced_at":"2026-01-14T21:24:59.279Z","repository":{"id":57571077,"uuid":"201831637","full_name":"LuigiAndrea/GoPearls","owner":"LuigiAndrea","description":"Programming Pearls in Golang","archived":false,"fork":false,"pushed_at":"2021-04-28T03:05:30.000Z","size":239,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T10:23:50.457Z","etag":null,"topics":["algorithms","benchmarking","data-structures","go","go-benchmarking","go-pearls","go-programming-pearls","go-testing","golang","pearls","tested-solutions","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LuigiAndrea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-12T00:43:37.000Z","updated_at":"2022-05-20T17:12:21.000Z","dependencies_parsed_at":"2022-09-17T15:50:22.909Z","dependency_job_id":null,"html_url":"https://github.com/LuigiAndrea/GoPearls","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LuigiAndrea/GoPearls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuigiAndrea%2FGoPearls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuigiAndrea%2FGoPearls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuigiAndrea%2FGoPearls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuigiAndrea%2FGoPearls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuigiAndrea","download_url":"https://codeload.github.com/LuigiAndrea/GoPearls/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuigiAndrea%2FGoPearls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","benchmarking","data-structures","go","go-benchmarking","go-pearls","go-programming-pearls","go-testing","golang","pearls","tested-solutions","testing"],"created_at":"2026-01-14T21:24:56.929Z","updated_at":"2026-01-14T21:24:59.267Z","avatar_url":"https://github.com/LuigiAndrea.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://api.travis-ci.org/LuigiAndrea/GoPearls.png?branch=master)](https://travis-ci.org/LuigiAndrea/GoPearls)\n[![Build status](https://ci.appveyor.com/api/projects/status/2q7xp7hbr9mmq1gi/branch/master?svg=true)](https://ci.appveyor.com/project/LuigiAndrea/GoPearls)\n[![Go Report Card](https://goreportcard.com/badge/github.com/LuigiAndrea/GoPearls)](https://goreportcard.com/report/github.com/LuigiAndrea/GoPearls)\n\n# GoPearls\nProgramming Pearls in Golang\n\u003cbr /\u003e\n\n## How to use \n\u003cbr /\u003e\nEach problem is identified by its package import path and may be conveniently fetched, built, and installed using the go get command.\n\u003cbr /\u003e\u003cbr /\u003e\n\n### To run all the tests\n\n```go\ngo test -tags all ./...\n```\n\n### To run all the benchmarks\n\n```go \ngo test -v -bench=. -tags benchmark  ./...\n```\n\u003cbr /\u003e\n\n### Column 1\n\nProblem | Description\n------------ | -------------\n[1.6.2](https://github.com/LuigiAndrea/GoPearls/tree/master/column1-oyster/bit-vectors)| Bit Vectors\n[1.6.3; 1.6.7](https://github.com/LuigiAndrea/GoPearls/tree/master/column1-oyster/sort-file-with-bit-vectors) | Bitmap Sort\n[1.6.4](https://github.com/LuigiAndrea/GoPearls/tree/master/column1-oyster/generate-k-random-integer) | Generate k unique random integers\n[1.6.9](https://github.com/LuigiAndrea/GoPearls/tree/master/column1-oyster/sparse-vector) | Sparse Vector\n\u003cbr /\u003e\n\n### Column 2\n\nProblem | Description\n------------ | -------------\n[2.6.1](https://github.com/LuigiAndrea/GoPearls/tree/master/column2-aha/anagram)| Anagram\n[2.6.2](https://github.com/LuigiAndrea/GoPearls/tree/master/column2-aha/atleast-twice)| Find integer that appears at least twice in sequential file\n[2.6.3](https://github.com/LuigiAndrea/GoPearls/tree/master/column2-aha/rotate)| Rotation algorithms\n[2.6.8](https://github.com/LuigiAndrea/GoPearls/tree/master/column2-aha/k-element-subset)| K-element subset of the set that sums to at most t\n\u003cbr /\u003e\n\n### Column 3\n\nProblem | Description\n------------ | -------------\n[3.7.2](https://github.com/LuigiAndrea/GoPearls/tree/master/column3-data-structures/linear-recurrence)| Linear recurrence\n[3.7.3](https://github.com/LuigiAndrea/GoPearls/tree/master/column3-data-structures/letters)| Banner\n[3.7.4](https://github.com/LuigiAndrea/GoPearls/tree/master/column3-data-structures/date-problems)| Date\n[3.7.5](https://github.com/LuigiAndrea/GoPearls/tree/master/column3-data-structures/hyphenations)| Hyphenations\n[3.7.6](https://github.com/LuigiAndrea/GoPearls/tree/master/column3-data-structures/form-letter-generator)| Form-letter generator\n[3.7.8](https://github.com/LuigiAndrea/GoPearls/tree/master/column3-data-structures/seven-segments)| Seven Segments\n\u003cbr /\u003e\n\n### Column 4\n\nProblem | Description\n------------ | -------------\n[4.6.2; 4.6.8; 4.6.10](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/fast-binary-search)| Fast Binary Search\n[4.6.5](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/hailstone-number)| Hailstone Number\n[4.6.6](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/coffee-can-problem)| Coffee Can Problem\n[4.6.7](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/lines-bracket-point)| Two lines that bracket the point\n[4.6.9](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/power)| Power Verification\n[4.6.11](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/binary-search-declaration)| Binary Search Specific Declaration\n\u003cbr /\u003e\n\n### Column 9\n\nProblem | Description\n------------ | -------------\n[9.5.1](https://github.com/LuigiAndrea/GoPearls/tree/master/column9-code-tuning/sequential-search)| Sequential Search\n[9.5.4; 9.5.8](https://github.com/LuigiAndrea/GoPearls/tree/master/column9-code-tuning/maximum-value-array)| Maximum value in array \n[9.5.6](https://github.com/LuigiAndrea/GoPearls/tree/master/column9-code-tuning/character-classification)| Character Classification using masks\n[9.5.7](https://github.com/LuigiAndrea/GoPearls/tree/master/column9-code-tuning/set-bits)| Count Set Bits\n[9.5.10](https://github.com/LuigiAndrea/GoPearls/tree/master/column4-correct-programs/fast-binary-search)| Fast hashing search problem\n[9.5.12](https://github.com/LuigiAndrea/GoPearls/tree/master/column9-code-tuning/fast-polynomial)| Faster Polynomial\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluigiandrea%2Fgopearls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluigiandrea%2Fgopearls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluigiandrea%2Fgopearls/lists"}