4 ms·You can write a simple cost function and then brute-force all the options in no time. I did that in school.by Void_ 14y agoYou can write a simple cost function and then brute-force all the options in no time. I did that in school.