Nagarro Interview Question

print all the unique sub-strings of a given string