Skip to content

Tutorial code for my video Generics Part 2: Using the empty Interface in Golang

License

Notifications You must be signed in to change notification settings

isensee-bastian/set-strings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generics Part 1: Set Implementation without Generics

  • What is a set data structure
    • Unique elements
    • Fast lookup
    • No associated value required (all values are keys)
  • Implementing a simple set:
    • New
    • Size
    • Add
    • Remove
    • Contains
    • Slice
    • String