In my last post
Finding duplicates algorithm series - An Unsorted array as an input.
Awdesh ・ Jul 14 '18
String is essentially an array of characters so we still could use HashTable/ Set like before to store chars instead this time.
Although algorithm wise we didn’t learn new anything but now we know that strings are essentially an array of chars and we could utilize that fact going forward in string related problems.
Top comments (0)