Sliding Window and Two Pointer Technique

Sliding Window and Two Pointer Technique (Photo Credit: Google Image) Story There is a school called ABC School, which frequently arranges extracurricular activities like games, dancing competitions, art competitions, etc. for their students. Today it arranged 2 interesting games called sliding window and rope pulling. The rules for the sliding window game are: first, make 2 teams; second, each team takes their position, and then, based on some condition, they slide their window 1 or more units until the window reaches the end position. ...

September 1, 2025 Â· 5 min Â· Saiful Islam Rasel

Searching Algorithm (Linear Search and Binary Search)

Linear and Binary Search (Photo Credit: Crio.Do) Story Let’s say students of the CSE department of University XYZ are going on a study tour in a tourist place. They are staying in a hotel, and surprisingly, they booked rooms on different floors, not the same, with one student per floor. And students get their room according to their rank/roll. This means students with the highest rank are staying on the topmost floor, and those with the lowest are staying on the lower floor. So the 1st rank lives at the top, and the last rank lives in the low, let’s say the 1st floor. ...

August 31, 2025 Â· 4 min Â· Saiful Islam Rasel

General Framework of Solving Any Problem

Steps (Photo Credit: iStock) Story Ismael started his career as a “Software Engineer—Level I” at a reputable software firm. He was promoted to “Software Engineer—Level II” after successfully completing a year in his current role. He passed another year in this promoted role. But gradually he started to feel a lack of motivation or engagement. This became a problem for his career. He therefore got ready and began taking action to address the issue. He thus took the following steps to address the problem: ...

August 15, 2025 Â· 5 min Â· Saiful Islam Rasel

We use cookies and technologies like Google Analytics and Microsoft Clarity to understand how users interact with our site and improve your experience.