We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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.
Highest Value Palindrome
You are viewing a single comment's thread. Return to all comments →
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