© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Aravind Korada
SDE
Great content! Thank you for the hard work!
One correction:
In slice copy:
s2 := make([]string, 0)
should be
s2 := make([]string, len(s1))
It won't copy if the size of destination is zero
Karan Pratap Singh
A software engineer who aims to evolve, innovate, and inspire through technology.
Thanks, nice catch! I've fixed it