Computer Science, asked by wazeermd1040, 11 months ago

Find maximum sum of subset subset of elements should not have same digits

Answers

Answered by chroventer
0

Input : arr[] = {5, 5, 10, 100, 10, 5}

Output : 110

Input : arr[] = {1, 2, 3}

Output : 4

Input : arr[] = {1, 20, 3}

Output : 20

Similar questions