masoudkf
  • About
  • Reads
  • About
  • Reads

Who’s in the Shahnameh? Tries Can Help.

2024-10-13 — by masoudkf — 6 min read
#go  #tries  #algorithms 
Tries are tree-like data structures used in applications such as autocomplete and spell checkers. For example, is there a character in the Shahnameh whose name starts with a Z? Well, let’s see.
Read more →

Heaps Don’t Lie; They Save Lives

2024-10-07 — by masoudkf — 7 min read
#go  #heaps  #performance  #algorithms 
Go’s container package helps you create heaps, although not as easy as other languages like Python do. But that makes it more fun.
Read more →

Benchmarking Go Sort Functions

2024-10-05 — by masoudkf — 6 min read
#go  #sort  #performance  #algorithms 
Go’s standard library comes with several sort functions to sort a slice. In this post, I’ll go over some of them to see which one runs faster.
Read more →
masoudkf
© 2025 Powered by Hugo Theme created by panr