It was a coding interview. The experience is good. You just need a deep understanding of the material. Start from the basics. Don't just practice coding problems. Try to understand the concepts.
Interview questions [1]
Question 1
Basic Machine Learning question. Need deep understanding.