Derive and compare core ML and RL methods | Amazon Interview Question