if target_diff == 0
then why return an arithmetic operation target_sum - target_diff
, that is redundant given that you are removing 0…
it should be return target_sum
if target_diff == 0
then why return an arithmetic operation target_sum - target_diff
, that is redundant given that you are removing 0…
it should be return target_sum
Since they are both the same, it doesn’t really matter.