Tag: Python

  • Errors and using your ear

    This week, I experienced a traditional whiteboard technical interview, highlighting my coding reliance on running tests for error detection. Reflecting on music, I now prioritize learning by ear over sheet music. I advise fellow interviewees to practice solving problems without immediate error feedback to prepare for challenges where testing isn’t possible.

  • Ruby vs Python – Speed Comparison

    The author explores the Sieve of Eratosthenes algorithm, implementing it in Ruby and Python to compare performance. After detailing the code structure and optimization strategies, benchmark results indicate that Python is generally faster than Ruby. The exploration serves as a fun comparison between the two programming languages while encouraging feedback on the methods used.

  • Two Sum – Python

    I’ve been reviewing technical interview practice over the last few weeks, and thought it might be a good idea to consolidate my notes and think about how I would teach it. This always worked very well for music, and seems to work for writing code too. I’m going to go over the Two Sum problem…