Freshworks Interview Question

Some string manipulation questions