Ring interview question

Leadership principle and coding part.