Copart interview question

Coding: k subset sum Spring boot and java fundamentals