Testimonials

Services

Priority DM . 3 days reply
5
FREE
Video meeting . 15 mins
₹49
Video meeting . 30 mins
5
₹99
Popular
Video meeting . 45 mins
₹199
Digital Product
FREE
Popular
Video meeting . 30 mins
₹99
Video meeting . 30 mins
₹119

About me

Hi 👋, I'm Anshul, I have been doing competitive coding for the past 4+ years, and have gained a variety of experiences on multiple coding platforms, like Leetcode, CodeChef, CodeForces, etc. Recently I completed a 1400-day streak on Leetcode. Currently, I am working as a back-end developer @GamesKraft and have completed my graduation from IIT DHANBAD. I would like to help juniors and people who are looking to improve their competitive coding skills. Feel free to connect over other social platforms, book a time, or post any queries. Leetcode: https://leetcode.com/anshul7sh/

Frequently asked questions

What is competitive programming?

Competitive programming is the practice of solving well-defined algorithmic problems within strict time and memory limits on platforms like Codeforces, CodeChef, and LeetCode. It sharpens your data structures and algorithms (DSA) skills, builds coding speed, and is widely used by product-based companies in India to evaluate freshers during hiring. Ratings and consistency earned here often act as proof of problem-solving ability on a resume.

How to start competitive programming as a complete beginner?

If you are wondering how to start competitive programming, begin by picking one language (C++, Java, or Python), getting comfortable with its syntax, and learning basic structures like arrays, strings, and stacks before attempting easy problems daily. Stick to one primary platform for contests instead of jumping across many, and progress gradually into recursion, two pointers, sliding window, and basic dynamic programming. Reading editorials after contests and re-solving problems you missed matters more than raw problem count.

How to practice competitive programming daily without burning out?

Solving one or two problems a day slightly above your comfort level, plus one contest every week, is exactly how to practice competitive programming consistently without exhausting yourself. Upsolve at least one problem you could not crack after every contest, and keep a list of weak topics to revise on weekends. Steady effort over 6–12 months beats short bursts of solving ten problems a day and then disappearing for weeks.

Is there a proper competitive programming roadmap for the first 6 months?

A practical competitive programming roadmap looks like this: months 1–2 for language fluency plus arrays, strings, hashing, and sorting; months 3–4 for recursion, two pointers, sliding window, stacks, queues, linked lists, and binary search; months 5–6 for trees, graphs, greedy, and introductory dynamic programming, with 2–3 contests each month. Add a weekend revision cycle so older topics stay fresh, and adjust the pace to your college workload rather than skipping contests for long gaps.

Which competitive programming websites should beginners use?

The most useful competitive programming websites are Codeforces for regular rated contests, CodeChef for contests with a strong Indian community, LeetCode for interview-style problems, and AtCoder for clean, beginner-friendly rounds. Pick one primary site for contests and add LeetCode alongside if you are also preparing for placements. Rotating across too many platforms early on slows improvement more than it helps.

Do I need a paid competitive programming course to get good?

No — a structured competitive programming course can help if you struggle with discipline or direction, but consistent problem solving and careful editorial reading on free platforms covers most of what a beginner needs. Consider paying only if you are stuck without direction despite genuine effort. What actually decides progress is the quality and consistency of problems you solve, not a certificate.

Are competitive programming books useful for beginners?

Competitive programming books help most once you already solve easy problems comfortably and want theory consolidated in one place; starting with a heavy book before writing code usually kills momentum. A better approach is learning each topic through problems first, then using one standard book as a reference for depth. For interview preparation specifically, platform practice matters far more than finishing any book cover to cover.

What is a competitive programming profile and should I add it to my resume?

A competitive programming profile is your public account on platforms like Codeforces, CodeChef, or LeetCode, showing your rating, rank, contest history, and problems solved. Recruiters at product companies often check it to verify the problem-solving claims on a fresher's resume, so link it only when your rating or consistency is genuinely decent. An active profile with a solid streak or rating reads far better than an abandoned handle.

How to practice LeetCode problems the right way?

If you are unsure how to practice LeetCode problems the right way, follow this loop: attempt for 30–45 minutes, study the editorial if stuck, close it, and then code the solution yourself from scratch. Solve topic-wise at first to learn patterns, then switch to mixed sets so you practise identifying the pattern without hints. Revisit every problem you needed help with after a week — spaced repetition beats one-time solving.

How many LeetCode practice problems should I solve before campus placements?

Around 150–250 well-understood LeetCode practice problems covering all core patterns is enough for most service-based and mid-tier product companies, while top product roles may need 300+ along with strong contest performance. Depth beats volume: 200 problems you can re-solve and explain clearly are worth more than 600 solved mindlessly. In the final two months before placements, shift from new topics to timed mixed sets and mocks.

Is LeetCode good for beginners, or is it too advanced?

Yes, LeetCode is good for beginners as long as they stay within the Easy tier initially and avoid comparing themselves to people solving Hard problems on day one. Every problem has discussions and editorials, which makes it friendlier for self-learners than older judge sites. Finish around 50–70 Easy problems to build confidence, then move to Medium, where most real interview questions live.

How to prepare for a DSA interview in 2 months?

A focused plan for how to prepare for a DSA interview in two months: weeks 1–3 cover arrays, strings, hashing, two pointers, and sorting; weeks 4–6 cover recursion, stacks, queues, linked lists, and trees; the final stretch goes to graphs, greedy, basic dynamic programming, and full-length mock interviews. Practise topic-wise first, then timed mixed sets to simulate real pressure. Keep the last week lighter and use it purely for revision instead of new topics.

How to answer DSA interview questions when I go blank in front of the interviewer?

Knowing how to answer DSA interview questions is a communication skill as much as a coding one: restate the problem, ask clarifying questions, trace a small example aloud, and state your brute-force idea before optimising it. Interviewers evaluate your thought process, so silence hurts more than an imperfect approach. If you freeze, return to the constraints and input size — they usually hint at the expected complexity. Doing two or three mock interviews with seniors or mentors beforehand is the fastest fix for going blank.

Where can I find DSA interview questions and answers for freshers?

The most frequently asked DSA interview questions and answers for freshers come from arrays, strings, linked lists, stacks, queues, trees, and basic dynamic programming, so prepare topic-wise rather than collecting random PDFs. Company-wise archives from previous campus drives show what your target recruiters actually repeat. Whatever material you use, re-code every solution yourself — reading answers without implementing them creates false confidence.

Should I prepare DSA interview questions in Java or switch to C++?

DSA interview questions in Java are the same algorithmic problems as in C++ or Python — only the implementation language changes, and interviewers judge your logic and complexity analysis, not your syntax. Stick with Java if it is your strongest language; switching languages close to interviews usually costs more than it gains. Just master Java collections like HashMap, PriorityQueue, and Arrays.sort so you can implement solutions as quickly as a C++ coder.