XYZ (Turkey) Interview Question

Asked some coding questions regarding data structures