BharatPe Interview Question

first : String to map convertion second : a leetcode sql question on join