Code interviews for a PHP developer roles - eviltoast
  • jkrtn@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    8 months ago

    Shouldn’t people familiar with integer arithmetic should be able to struggle to something like x == 2 * (x/2) to test if it is odd or even? Or just bitwise x & 1?