Find the largest multiple of 3 from array of digits In O(n) time complexity

后端 未结 0 1336
栀梦
栀梦 2020-12-10 10:37

Given an array of digits (0 to 9). Find the largest number that can be made from some or all digits of array and is divisible by 3. The same element may appear multiple time

相关标签:
回答
  • 消灭零回复
提交回复
热议问题