Recursion - 2 (groupSum) Java Solution || Codingbat.com

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Thank you for the video, it clarified the concept that i couldn't grasp.

modris
Автор

i like simplicity;

if(start >= nums.length) return target == 0;
return (groupSum(start+1, nums, target)) || (groupSum(start+1, nums, target-nums[start]));

위엔빈
Автор

more understandable than the provided one

chinmaypisal
Автор

very helpful, thanks! solution is more understandable than the provided one

sarahk
welcome to shbcf.ru