XYZ (Turkey) interview question

Java a d js