Moveworks interview question

Machine Learning theory and system design. Coding questions involved some recursion.