there school class student class have final exam you give 2D integer array classes classesi passi totali you know ith class totali total student passi number student pass examyou give integer extrastudent there extrastudent brilliant student guarantee pass exam class assign you want assign extrastudent student class way maximize average pass ratio classesthe pass ratio class equal number student class pass exam divide total number student class the average pass ratio sum pass ratio class divide number classesReturn maximum possible average pass ratio assign extrastudent student Answers 105 actual answer accept Example 1input class 123522 extrastudent 2output 078333explanation you assign extra student class the average pass ratio equal 34 35 22 3 078333example 2input class 243945210 extrastudent 4output 053485 Constraints1 classeslength 105classesilength 21 passi totali 1051 extrastudent 105