Blog
- 5 Java Interview Tips and TricksI keep seeing these in interviews and take-home assessments. Here are 5 examples with code and output.
- Which loop is faster in Java? A classic for loop, an enhanced for-each, or a modern Stream?As a recent computer engineering graduate, I often use different types of loops in my personal projects - the classic for, the enhanced for-each, and stream().forEach(). I used them interchangeably without thinking much about their performance. So, I got curious: which one is actually faster?
- Why I Chose Denormalization: A Practical Lesson in System Design Trade-offsWhile I was writing my project, I discovered a bottleneck. I was constantly fetching data from two tables with a JOIN, and this led me to a trade-off. Let’s take a look.