#big-o-notation

[ follow ]
fromMedium
1 month ago

Understanding Time and Space Complexity (Part 1)-A Beginner's Guide to Analyzing Code Efficiency

Imagine you appear for an interview with the top giants. You have been asked a DSA problem, and you have somehow reached a perfect solution. Now, the interviewer asks, 'Could you please let me know the time and space complexity for this code?' After gaining experience in conducting interviews, I have observed a moment of confusion among DSA beginners when answering this question. They usually struggle to explain the time and space complexity of their code solution.
Software development
Python
fromRealpython
2 months ago

Episode #257: Comparing Real-World Python Performance Against Big O - The Real Python Podcast

Real-world performance of algorithms often contradicts Big O expectations, with profiling revealing significant discrepancies.
[ Load more ]