It can be done in O(n) approach where n is number of digits in hexadecimal number… One of the way is using if else statements and adding them…
確定! 回上一頁