• jeff 👨‍💻
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago
    bool isEven(int num) {
       return !isOdd(num);
    }
    
    bool isOdd(int num) {
       return !isEven(num);
    }
    
    • Spy
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Legends say this code runs faster than what the op posted. StackOverflow Errors are surprisingly fast in most languages