Is Substring Problem
Given a short string and long string, find if the shorter string is a substring of the longer string.
- Q: Can I use built-in string methods?
- A: No
- Q: Can I use
in
?- A: No
- Q: Should I care about case?
- A: Yes - It needs to be an exact character match
- Q: Can the strings be empty?
- A: Assume both strings are not empty