👨‍💻

Programming

Python, JavaScript, Java, C++, and more

25
Total Problems
23
Solved
15
Contributors

Programming Problems

Best practices for error handling

What are the best practices for error handling in code? When should I use try/catch vs checking conditions?...

👤 Nina Patel intermediate 👁️ 545 views 💬 0 solutions ✓ Solved

Python list vs tuple vs set

What are the differences between lists, tuples, and sets in Python? When should I use each?...

👤 Emma Wilson beginner 👁️ 726 views 💬 0 solutions ✓ Solved

How does JavaScript event loop work?

I'm trying to understand the JavaScript event loop. I know JavaScript is single-threaded, but how does async code work then? Can someone explain: 1. What is the call stack? 2. What is the task queue?...

👤 Robert Brown advanced 👁️ 1520 views 💬 0 solutions ✓ Solved

Understanding Big O notation

What is Big O notation and why is it important? How do I determine the time complexity of my code?...

👤 Harry Stevens intermediate 👁️ 1228 views 💬 0 solutions ✓ Solved

Understanding JavaScript closures

I keep hearing about closures in JavaScript but I don't understand what they are or why they're useful. Help!...

👤 Maria Garcia intermediate 👁️ 853 views 💬 0 solutions ✓ Solved