Microsoft interview question

Isomorphic strings on LeetCode, principles of OOP