Kounsel interview question

Kotlin and java base basic question also DS question