Grid Dynamics Interview Question

They had asked coding in python to create a function without using any in built libraries and questions on GEN AI and traditional ml algorithms