Substring 👍
A substring is a contiguous(continuous) sequence of characters present within a string. It is a string present inside a string.For instance, the substrings of the string “tree” would be:‘t,’ ‘r,’ ‘e,’ ‘tr,’ ‘tre,’ ‘tree,’ ‘re,’ ‘ree,’ ‘e...