NextCapital Group interview question

standard