Flexera Interview Question

Explain overriding and one DSA question on string.