Last Substring in Lexicographical Order - DSA Problem | Talentd