Prudential interview question

coding interview was average questions