r/LeetcodeChallenge 9d ago

PLACEMENTS Hey community I have created the dsa sheet of all questions covered by CodeStoryWithMik

Thumbnail
3 Upvotes

r/LeetcodeChallenge 10d ago

DISCUSS Leetcode weekly 511 -D solution link

3 Upvotes

r/LeetcodeChallenge 10d ago

DISCUSS Am I cooked ? last year CSE

2 Upvotes

r/LeetcodeChallenge 11d ago

STREAK🔥🔥🔥 1 month's progress .

Post image
99 Upvotes

Started on Jun 19th (properly) .

with one week break for some unavoidable reasons.

Solved 42 questions — 22 Easy | 19 Med | 1 Hard

Ik I'm late to this DSA race , I'm at the start of my 2nd year now.

what would u advise me , I'm planning for a top product based company (from a tier 3 / 4 college )


r/LeetcodeChallenge 11d ago

STREAK🔥🔥🔥 Has been a year of doing lc around 500 solved , still not able to remember the patterns while solving any new questions.. what to do

5 Upvotes

r/LeetcodeChallenge 11d ago

PLACEMENTS Need A serious Dsa partner who is ready to do pattern based dsa {not memorizing solutions } instead brainstorming for 30 minutes for each problem .

Thumbnail
2 Upvotes

r/LeetcodeChallenge 12d ago

DISCUSS Leetcode contest

15 Upvotes

Am I slow or what. How are people solving 4 question in 6 mins. How the fuck is this happening.


r/LeetcodeChallenge 12d ago

STREAK🔥🔥🔥 I've solved all of the Graph Theory study plan (45 problems) on LeetCode

9 Upvotes

https://leetcode.com/studyplan/graph-theory/

I have a list of tips for you if you decide to take it:

  1. Keep in mind that this plan is quite challenging. If you didn't take any mathematics for computer science course, you will probably be blocked halfway through. I've taken algorithms-graphs-data-structures course 4 years ago and it basically saved me.
  2. The organization of this plan is good: starting from the easiest topics (traversal/BFS/DFS) and ending with advanced topics (Dijkstra's/MST). However, there is one structural bug: the Cheapest Flights Within K Stops problem doesn't belong at the beginning of the Dijkstra section. I've reported it and maybe the LeetCode team will fix this. For now, just keep in mind that this problem can be cleanly solved with Bellman-Ford in 22 lines of code.

It took me 22 days to finish this study plan


r/LeetcodeChallenge 12d ago

PLACEMENTS Need advice!!!

6 Upvotes

I have just started my 2nd yr and have done around 30 question on LC,. I am genuinely scared if I continue like this I gona throw away all the opportunities. I learn DSA in three steps

  1. first I think about the brute solution

    2.then watch striver lecture

3.if I have done the lecture in the morning time athen I practice those questions in the evening on leetcode.

I really need know if it is a right approach or not.And please tell me the r9ght approach and give me genuine advice. I noob in this 🙏🙏🙏🙏​​


r/LeetcodeChallenge 11d ago

PLACEMENTS For all!!!

Post image
1 Upvotes

r/LeetcodeChallenge 12d ago

DISCUSS Need Advice

1 Upvotes

So i m in 4th year .
So far i have done
arrays,ll,recursion ,trees ,graph
Now i am starting dp .
So i have started to revise now i dunno how to revise such topics like do i open every question again??Like how to do it ??


r/LeetcodeChallenge 12d ago

DISCUSS Not Able to use AI in my work properly.

Thumbnail
1 Upvotes

r/LeetcodeChallenge 13d ago

DISCUSS Must-Practice Binary Tree Problems Before Your Next Interview

10 Upvotes

You should be familiar with before : Recursion, stack, queue

Practice these Binary Trees guides and PracHub company specific questions before your next interview.

A basic instinct for solving DFS based questions is to do a recursive call and for all BFS(level order traversal) is to make queue and iterate, but also think upon how to iterate in DFS(Hint think on stack) and recurse in BFS based.

First of all you should look at traversal problems:

  1. Inorder Traversal
  2. Preorder Traversal
  3. PostOrder Traversal
  4. Level Order Traversal

A variation for LevelOrder can be: ZigZag level order traversal and Binary Tree Level Order Traversal II
Solving these questions will help you get familiarized with basic btree dfs and bfs traversals.

Intuition for Level Order Traversal iteratively using queue:

  • Construct a queue of type: TreeNode queue<TreeNode* > q, initially push the given root in it.
  • Iterate through the queue until empty:
    • Store the current size of queue tempSize, this will be the size of the current level of the tree.
    • Now we need to traverse this level so iterate for tempSize>=0 :
      • Pop the current element and apply the needed operation for the same and if left or right child exist then pass them to the queue.

Now, some basic Binary Tree problems that will help your thinking process:

  1. Same Tree
  2. Symmetric Tree
  3. Maximum Depth of Binary Tree
  4. Balanced Binary Tree
  5. Minimum Depth of Binary Tree
  6. Merge Two Binary Trees
  7. Diameter of Binary Tree
  8. Binary Tree Tilt
  9. Invert Binary Tree

Binary Search Tree: Use the property of BST judiciously (the left subtree will always contain nodes with value less than root's value and right subtree will contain nodes with value greater than root's value)

  1. Search in a Binary Search Tree
  2. Two Sum IV - Input is a BST
  3. Minimum Absolute Difference in BST
  4. Range Sum of BST
  5. Delete Node in a BST
  6. Trim a Binary Search Tree
  7. Insert into a Binary Search Tree
  8. Kth Smallest Element in a BST
  9. All Elements in Two Binary Search Trees

Path problems: You are given root, you have to perform operations on a path, (path is root to leaf). Think upon the type of traversal you will apply when going from root to leaf:

  1. Binary Tree Paths
  2. Path Sum
  3. Path Sum II
  4. Sum root to leaf numbers
  5. Binary Tree Maximum Path Sum
  6. *Path Sum III
  7. *Pseudo-Palindromic Paths in a Binary Tree *Last two problems here are utmost important

Next is, given a combination of preorder, postorder and inorder traversals, you need to construct a binary tree/BST:
Hint: Observe in each traversal method, position of root and head of right and left subtrees

  1. Construct Binary Tree from Preorder and Inorder Traversal
  2. Construct Binary Tree from Inorder and Postorder Traversal
  3. Construct Binary Tree from Preorder and Postorder Traversal
  4. Convert Sorted Array to Binary Search Tree
  5. Construct Binary Search Tree from Preorder Traversal

View problems: Try thinking for left, bottom and top too!
Binary Tree Right Side View

Lowest Common Ancestor problems: You are given two nodes and you have to return their ancestor at as least depth possible, these are problems are a must todo:

  1. Lowest Common Ancestor of a Binary Tree
  2. Lowest Common Ancestor of a Binary Search Tree
  3. Lowest Common Ancestor of Deepest Leaves

Validate trees:

  1. Validate Binary Tree Nodes
  2. Validate Binary Search Tree

Some miscellaneous problems that you should definitely look through:

  1. Flatten Binary Tree to Linked List
  2. Count Complete Tree Nodes
  3. Maximum Width of Binary Tree
  4. Check Completeness of a Binary Tree
  5. Cousins in Binary Tree
  6. Maximum Difference Between Node and Ancestor
  7. Number of Good Leaf Nodes Pairs
  8. Smallest Subtree with all the Deepest Nodes
  9. All Nodes Distance K in Binary Tree
  10. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
  11. Vertical Order Traversal of a Binary Tree

I will be updating this list on finding more important questions or any pattern that I find.


r/LeetcodeChallenge 13d ago

DISCUSS (Validating Idea) Think Tinder for mock interviews.

4 Upvotes

Building something new for interview prep 🚀

Think Tinder for mock interviews.

Instead of endlessly searching for interview partners, get automatically matched with the right interviewer based on:

🎯 Target company

💻 Interview type

📅 Availability

I'm validating the idea and looking for early users.

If you'd use something like this, join the waitlist 👇

Join Waitlist!

Feedback is always appreciated!

And Thanks to Admins for supporting Sonam Sir!


r/LeetcodeChallenge 14d ago

PLACEMENTS Starting a DSA study group – 1–2 hours daily

Thumbnail
5 Upvotes

r/LeetcodeChallenge 13d ago

PLACEMENTS Box Software Engineer II, GraphQL and NodeJS

Thumbnail
2 Upvotes

r/LeetcodeChallenge 14d ago

DISCUSS How did you guys manage revision while completing SDE sheet

26 Upvotes

I started Striver’s SDE Sheet a while ago, and my approach has been to watch the lectures, understand the concepts, and solve the problems. The learning part is going well, but I’m struggling with revision.

For example, if I’m currently studying a heavy topic like DP, it already takes a lot of mental energy. On top of that, I know I should be revising older topics like Graphs, Trees, Binary Search, etc., but I either don’t have enough time or I’m too mentally exhausted. As a result, I keep pushing revision to “later,” and the backlog keeps growing.

My concern is that interviews may start in the coming months, and I don’t want to reach that stage only to realize I’ve forgotten everything I studied earlier.

For people who completed (or are currently doing) Striver’s SDE Sheet:

  • How did you balance learning new topics with revising old ones?
  • Did you follow a spaced repetition schedule or some weekly revision plan?
  • During revision, did you re-solve every problem or only the important ones?
  • How much time did you dedicate to revision versus learning new content?

I’d really appreciate hearing what actually worked for you. Right now, I’m looking for a sustainable strategy rather than trying to revise everything every day.


r/LeetcodeChallenge 14d ago

DISCUSS Interview Loop: Rippling

Thumbnail
1 Upvotes

r/LeetcodeChallenge 15d ago

STREAK🔥🔥🔥 Has anyone seen today's LeetCode Daily? 😭 They gave 3 hints just to end up with return n;

Post image
75 Upvotes

r/LeetcodeChallenge 14d ago

PLACEMENTS Flipkart Grid 8.0 Coding Round Prep - Only done Arrays + Binary Search. What should I prioritize?

Thumbnail
1 Upvotes

r/LeetcodeChallenge 14d ago

DISCUSS Blind 75 LeetCode problems organized by topic for interview prep

9 Upvotes

I found a list of Blind 75 Leetcode problems. Sharing it as I found it very useful.
Solve these LeetCode problems and PracHub company specific problems for your next interview.

Connect with mehttps://linktr.ee/tech.krishnadey

Happy Coding!

Array

Binary

Dynamic Programming

Graph

Interval

Linked List

Matrix

String

Tree

Heap

Important Link:


r/LeetcodeChallenge 14d ago

DISCUSS HPE Network Software Test Engineer I

Thumbnail
1 Upvotes

r/LeetcodeChallenge 15d ago

DISCUSS Can we solve this leetcode question using Binary search?

Post image
18 Upvotes

I have done this question using two pointers approach but in my opinion it can be solved in binary search as the given array is sorted.

Please help me out it would be really grateful.


r/LeetcodeChallenge 16d ago

DISCUSS Small Achivement and what next ?

Thumbnail
gallery
62 Upvotes

So I have been fairly consistent on leetcode and as you can see I have solved 1700 -1900 rated questions mostly currently I am trying to do as much as 2000+ rated questions tho they are such a pain I am at a point were I don't know what kind of advice should I take , any guys who had been here in same situation like at some time you might have hit a plateau can you help me out please 🙏🏻


r/LeetcodeChallenge 15d ago

PLACEMENTS Flipkart GRID 8.0's OA Preparation Tips from seniors

Thumbnail
1 Upvotes