top of page

Dealing with DSA

Public·51 members

Going throught the thinking process!

As we were discussing a few good questions during a class, I figured out one thing. No matter how good you know the language, the major part is how to crack the logic. I often get close to the logic (or sometimes completely off), but hardly get it right without hints. And they are often the simplest approaches or the shortest answers. And I go like, So it was that simple!? At the end of the day, this is the most frustrating problem! Not able to crack a logic the right way, sometimes not even the brute force approach.

So reaching out to all the professionals here, How do you crack the logic? What goes on your mind while reading a problem? How to make the code even more optimized?

51 Views
Ishika Prasad
Your post made waves — high engagement, real value.

Creator Of The Week

🔥LeetCode Daily – Cracked a Hard One!🧠

Problem: 3405. Count Arrays with K Matching Adjacent Elements📚 Topics: Combinatorics, DP, Modulo Math

💡 Key Insight:

→ Answer = m × C(n−1, k) × (m−1)^(n−1−k) % MOD

Where:

m is the choice for the first element

C(n - 1, k) is the number of ways to choose where equal pairs occur


88 Views

CodeForces sheet


I solve DSA on LeetCode only. I have been doing a lot of DSA lately, mostly questions from Linked List, Arrays, and I make sure I see if I can do the potd or not.


Recently, I tried CodeForces,and I failed on the 1st test case. I was very demotivated, so I asked a friend how he does it. He told me I should solve the CP-31 sheet. Here is the link if you are also stuck at Codeforces. From today I will start doing it as well!!

https://www.tle-eliminators.com/cp-sheet

225 Views
Miembro desconocido
16 jun 2025

Thanks for that!!

Knowing DSA

Don’t Fear DSA — Embrace It Differently!


Most people say “practice more problems”, but here’s something new to try:


✨ Pair up with a friend.

Solve problems together, explain your thinking aloud, and learn from each other’s approach.


✨ Visualize first.

Before you code, draw it. Sketch your algorithm, visualize your data structures. It makes a huge difference!


61 Views
Ishika Prasad
Your post made waves — high engagement, real value.

Creator Of The Week

Your DSA Hour👇


When Do You Usually Practice DSA?

  • Early morning 🌅

  • Late night 🌙

  • In between other tasks

  • Only on weekends 😅

💬 Drop your secret productivity hack in the replies too!

68 Views

DSA didn't click until I stopped trying to memorize solutions

Imagine this-

You're trying to learn how to drive a car. You open YouTube, start watching driving tutorials. Or maybe that's too unrealistic. A more relatable version - You watch someone do it in front of you. You go like - "Haan Haan I get it. I'll do it now".

But the moment you sit in the driver's seat - the car stops, jerks, stalls. You panic! Where's the clutch, where's the brake? It's all so confusing.

That's exactly what was happening with me. Watched YouTube videos or my professor solving questions. Copied them and felt like now i know it all. But when it came to solve questions on my own - failed miserably!

It all changed when i got myself to solve more and watch less. I failed, but now i had a clearer idea of what worked, what mistakes i could learn from. Then when i watched…


59 Views

The most important data structures for technical interviews include arrays, linked lists, stacks, queues, trees, graphs, hash tables, and tries. Mastering these is crucial as they form the foundation of many algorithms and are frequently used in coding challenges and interview questions.

63 Views
Ishika Prasad
Your post made waves — high engagement, real value.

Creator Of The Week

🧠 Dealing with DSA

While learning DSA, I’ve realized that how  you approach problems matters even more than just solving a lot of them. These are a few mindset shifts I’ve picked up — mostly from mistakes I kept repeating 😅

Here’s what I’ve learned not to do:

  1. Rushing to code before understanding the problem - Now, I slow down. First read? Just to get the idea. Second read? To catch the hidden edge cases and constraints.

  2. Skipping examples- Visualizing the example inputs (like 1→2→4 etc.) gives surprising clarity. It helps me see what’s really happening.

  3. Avoiding brute force out of fear- I’ve started asking, “What’s the simplest, even dumbest, way to solve this?” It often unlocks the pattern I need later.

  4. Trying to hold the whole problem in my head- I now break it into tiny, testable steps. Print/debug early. You don’t need to solve everything in one go.

69 Views

DSA as a beginner

The beginning always feels tough.

As someone who has started learning about data structures very recently (not even the algorithms yet), the concepts sometimes are confusing. And when it comes solving problems, it feels like a battlefield and I am fighting with swords but absolutely no training.

The major challenges i face:

  • Building logics and then actual code

  • Tons of errors and not able to understand the real problem

  • Everyone's moving faster but I am stuck


54 Views

DSA in Python Resource & A common mistake..


Hi!


Thought I would share a resource I've been using to learn DSA, in python.


It's on youtube, so you can use it for free.



A common mistake what everyone does when getting into DSA , they directly dive into LeetCode without learning the prerequisites and sit with questions for hours together, failing to understand it.


When we were in school, we were all taught in a pattern, for example you were taught the A,B,C's , then words, and later on sentences.


43 Views
Miembro desconocido
11 jun 2025

genuinely so valuable, if only someone gave me this advice when i was starting with DSA too! But given how the last time i solved leetcode was years ago, i am pretty sure i will have to restart entire DSA🥶

Ishika Prasad
Your post made waves — high engagement, real value.

Creator Of The Week

📊 “How Do You See Time Complexity?”

How do you personally understand and visualize time complexities like O(n), O(n²), or O(log n) when solving problems? Any analogies or examples that really clicked for you?

56 Views
Miembro desconocido
11 jun 2025

Dry running and looking at the program from the loops point of view helps too.

In most cases( not all), the number of nested for loops can tell you how the complexity is going to be, if it's a single for loop it will be O(n), a single nested for loop, O(n²) and so on.


Also, what you want your program to do?

This question helps too, say you wanted it to search for an element in an array, that would mean that it would have to look at each element once, just checking it with the required element, so you know clearly that you want your program to go through each element once, thus 1 loop, thus worst case complexity would be O(n) where n is basically number of elements in the array



Taufiq Mohammad
Your post made waves — high engagement, real value.

Creator Of The Week

DSA, love it or hate it.

It’s something you’ve atleast heard if you’re into technology. DSA this, DSA that, many people fear this, and many strive. But what is DSA? For those who uninitiated, it stands for Data Structures and Algorithms. Divided into two parts DS (Data Structures) which deal with data organisation (Arrays, Strings…) and Algorithms (step by step formulas to curate a solution).


All this information is fine, but what can you do about it? How do I learn it, and how do I master it. It’s not easy, but it’s not impossible.


Let’s elaborate on step 1:

The first step would be to concentrate on building a strong foundation. These include having a strong grasp over a programming language (C++ is the fastest and most common, with Python in the roster, but Java which is the most asked in interviews) through actually learning and building hands on projects (small as a simple hello…


67 Views
Miembro desconocido
10 jun 2025

could you tell us the roadmap you followed to complete Data Structures in 15 days? I think that would greatly help others doing it currently, + an approach to Algorithms as well

    Members

    bottom of page