Aman Goyalamangoyal.hashnode.dev·Feb 4, 2024Learnings Z-Function, GolangTLDR - Got my hands dirty on golang, and learned a algorithm while doing a LC problem z_function. About Z-Function Z-Function is an really important and fundamental algorithm for strings. Z-Function of a string s of length N is an array z of same len...Discussgolang
Dmitry Ronzhinronzhin.hashnode.dev·Jan 30, 2023Finding substringsWhat I actually like to do is to describe some algorithms from the most naive approach to quite complicated ones. It is also very satisfying when there are both complex and simple algorithms that improve a lot compared to naive ones, and one can see ...Discuss·48 readsPython