Highest Value Palindrome

  • + 1 comment

    3 ifs. No else/else-ifs. But I used boolean-to-int tricks for counting. But such tricks are arithmetic - logically (for human) it is condition, but on CPU level it is just arithmetic.

    https://www.hackerrank.com/challenges/richie-rich/submissions/code/38253930