Ad
  • Custom User Avatar

    I thought the point of not specifying everything in interviews is to see if the candidate asks for clarifications or just makes assumptions. But that's not really doable in the "online coding challenges" context. So unless you're suggesting that every user of this website should message you before attempting your kata... you might want to clarify everything in the description ¯_(ツ)_/¯

    Also... who posts their interview questions on the internet?!

  • Custom User Avatar

    For the eq method, you're already representing the fractions in their most simplified form, so isn't it enough to just compare the self.top with other.top, and simmilarly for bottom?

    i.e. return self.top == other.top and self.bottom == other.bottom