ACKO General Insurance interview question

Questions from leed code easy and medium . Data structure and algorithm