//
pkg.gl
Category
github.com/gadumitrachioaiei/algorithms
hackerrank
equal
package
0.0.0-20201211100319-9c3a112b95fa
Repository:
https://github.com/gadumitrachioaiei/algorithms.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
208 SLOC
#
Functions
Equal
Equal returns the smallest number of transformations needed to solve the problem.
#
Constants
Max
Max means we do not change the max element.
Next
Next means we do not change the next big element after min.
#
Type aliases
Strategy
Strategy describes how we choose which element remains unchanged on each step.