Sep 10, 2025 · 4 min read · Shiksha, Deepak, and Sagar solved a coding assignment. Each used a different approach, and then Shiksha asked: Shiksha: “We solved the same problem in three different ways, but which one is the best?” Deepak: “Which one will be faster?” Sagar: “Faste...
Join discussion
Jul 25, 2025 · 5 min read · 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 ...
Join discussionJun 1, 2024 · 4 min read · Understanding time and space complexity is fundamental in analyzing the efficiency of algorithms. Below we will explore the concepts of time and space complexity, their common notations, and provide examples in C++ to illustrate these concepts. Why d...
Join discussion
Jan 24, 2024 · 5 min read · Data Structures are the building blocks of any program. Here's a suggested order to learn them: Data Structures to Practice: 1. Arrays and Strings Find the maximum sum of a subarray: https://leetcode.com/problems/maximum-subarray/ Reverse a string:...
Join discussionOct 28, 2023 · 5 min read · Hello Reader 👋 By the time you are reading these lines, thousands of codebases will get updated or restructured and deployed globally. Have you ever thought why? But first thing first, this blog's meme is 🥁🥁 Well, one answer could be technology l...
Join discussion
Jul 29, 2023 · 2 min read · I am thrilled to share my insights into space and time complexity. This journey has been all about optimizing algorithms and understanding their efficiency. Space Complexity: Space complexity refers to the amount of memory used by an algorithm durin...
Join discussion
Aug 21, 2022 · 4 min read · As programmers, we often face challenges that require writing efficient code to solve complex problems. When dealing with large amounts of data or computationally intensive tasks, the efficiency of our algorithms can significantly impact the performa...
Join discussion