subStr - first version
4Sum - first version