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

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