Asmit
2.9K posts

Asmit
@coolcoder56
23 , full stack developer, SIH Finalist, Tech
Bengaluru, India Se unió Ekim 2022
855 Siguiendo8.9K Seguidores

@abhijitwt Why every Shitposter on this app post this ss everytime . Idk why
English

Sliding Window looks simple... until you're in the interview.
It's one of the favourite topics of tech interviewers.
Why? Because it tests your ability to:
→ Identify the right pattern quickly
→ Know when to shrink the window
→ Understand where to update your answer
The confusion is real:
• Shrink while VALID or INVALID?
• Update INSIDE or AFTER the loop?
• Monotonic Increasing or Decreasing?
Let me simplify all 6 Patterns for you:
Pattern 1: Fixed Size Window
↳ Size K is given in the problem
↳ Build first window, then slide: +new, −old
↳ LC 239, 643, 1456
Pattern 2: Variable MAX (Longest)
↳ Find maximum length subarray
↳ Shrink while INVALID
↳ Update answer AFTER while loop
↳ LC 3, 424, 1004
Pattern 3: Variable MIN (Shortest)
↳ Find minimum length subarray
↳ Shrink while VALID
↳ Update answer INSIDE while loop
↳ LC 76, 209, 862
Pattern 4: HashMap (Anagram)
↳ Permutation / Anagram matching
↳ Track need & window maps
↳ valid++ when window[c] == need[c]
↳ LC 567, 438, 76
Pattern 5: Exactly K Trick
↳ exactly(K) = atMost(K) − atMost(K−1)
↳ Count subarrays: right − left + 1
↳ LC 992, 1248, 930
Pattern 6: Monotonic Deque / Stack
↳ Need MAX in window → Decreasing deque
↳ Need MIN in window → Increasing deque
↳ Always store indices, not values
↳ LC 239, 84, 42, 739
Quick Pattern Recognition:
"Window size K" → Fixed
"Find longest" → Variable MAX
"Find shortest" → Variable MIN
"Anagram / Permutation" → HashMap
"Exactly K distinct" → Subtraction Trick
"Max/Min in window" → Monotonic Deque
English

@amit25says So delete it now, quote the posts that I have copied not the one that i wrote myself
English

Bro is copying all of my ideas that hit a banger..
I feel good that my self-made banger posts are being copied.
Let's go 🥳🥳
Asmit@coolcoder56
Microsoft is the easiest company to crack among the FAANG companies their DSA level is not that high even Online Assessments are not that tough. Rarely they ask CP questions.
English

Underrated companies that pay VERY well for freshers (0–1 YOE) in India 💸
• Nutanix – SDE (~25–35 LPA)
• Postman – Software Engineer (~25–30 LPA)
• Rubrik – Software Engineer (~30–40 LPA)
• Cohesity – MTS (~25–35 LPA)
• Media. net – SDE (~20–30 LPA)
• InMobi – Software Engineer (~20–30 LPA)
• PubMatic – Software Engineer (~18–28 LPA)
• Razorpay – SDE (~18–26 LPA)
• Zeta – Software Engineer (~20–30 LPA)
• Groww – Software Engineer (~18–25 LPA)
• Expedia – SDE (~18–24 LPA)
• Walmart Global Tech – SDE (~18–25 LPA)
• Target India – Software Engineer (~16–22 LPA)
• NetApp – Software Engineer (~18–24 LPA)
• Pure Storage – Software Engineer (~20–30 LPA)
Most tier-3 students don’t even apply here.
Bookmark this. 🚀
Deutsch

@AbhinavXJ @Divyansh91565 Bhai tu uska bohot bada fan tha lafde ke pehle. Tune khud likha Tera placement uski sheet se hua. I can't find the img of the auditorium
Eesti



@SwaDotDev Falling for a ragebait in big 2026. Bro needs to up his game
English

Company: exodeui
Role: Frontend Developer
Job type: Intern
Duration: 3 Months
Location: Remote
Compensation: 45k
Requirements:
-At ExodeUI, we’re experimenting with a new idea of UI interfaces that behave like systems, not static screens. Think physics-driven components, logic nodes, and spatial interaction.
Send your resume:tech@exodeui.com
English









