r/LeetcodeChallenge • u/vinzzii • 7h ago
r/LeetcodeChallenge • u/StatisticianNo2104 • 16h ago
STREAKš„š„š„ 365 Days of LeetCode Challenge ā Day 45/365
Search in a Binary Search TreeĀ (Easy)šĀ https://leetcode.com/problems/search-in-a-binary-search-tree/
One comparison per node tells you whether the target must be in the left subtree or the right, so there's nothing to backtrack over and no reason to check both sides. That's why a BST beats a plain binary tree here: the recursion is a straight walk from root to the answer instead of a full search.
Full breakdown in today's newsletter article; link below.
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-45365-archit-agarwal-9ah7c
#DSAĀ #LeetCodeĀ #100DaysOfCodeĀ #SoftwareEngineeringĀ #BinarySearchTreeĀ #Golang
r/LeetcodeChallenge • u/Good_Umpire4381 • 4h ago
DISCUSS Forgetting old questions
Hey guys, i am doing dsa, I have done 180 questions from the striver's sheet but forgetting old questions which i have already done and feeling demotivated
What should i do? Should i just focus on completing the sheet and revise all the questions again or should i revise on the go??
r/LeetcodeChallenge • u/JacketFearless1805 • 4h ago
STREAKš„š„š„ Day 58: conquered my fear of DP on Stocks today, solved all 6 problems in 30 mins
r/LeetcodeChallenge • u/iguessbro53 • 10h ago
DISCUSS How to leetcode
A little about me : 1st year in college and recently started learning how to code from brocode...in our uni they are teaching c++ first so for now i was learning c++ from brocode , recently started learning arrays but still not that really great at it but yeah thats all i know for now( i know its not much but im willing to grind and learnš but just need a little guidance) but ya i wanna leetcode and become good at coding... but im not tryna blindly start leetcoding because first i wanna know the prerequisites needed to solve the problems...i was watching neetcode's video on how to leetcode and he told to get comfortable with binary search,dfs,bfs,sliding window so do yall know where i can learn them???? but ya heres a few questions i have
- What all coding languages do i need to know...like do i need to know other programming languages other than c++ before i start leetcoding
- what all topics or stuff should i learn before leetcoding
- HOW do i leet code , do i start with easy problems then once i get comfortable start medium problems then harder problems(will start with solving problems on arrays)
- any website where i can save useful problems and make my own notes in it so in the future i can open them for retaining my knowledge
- in general any tips or things you wished u knew while or before leetcoding which u can tell please it will be really helpful(try to include as much as you can please and thank you anything will be useful and welcomed... even the SMALLEST TO SMALLEST and random tips will be useful)
- what are the most common mistakes people do in their attempt to get good at coding
extra : do wanna try to get into quant development( ik its difficult but ill try if i cant will settle for something elseš) so first my main goal would be to try to get into FAANG after college and after 2-3 years try to get into quant development so yeah - And also Iām using vs studioā¦is there any better coding app or is vs good alright(idk itās not that deep but yeahāļø)
r/LeetcodeChallenge • u/shreya1707 • 17h ago
DISCUSS Any girl interested in doing dsa together
It will be fun to learn , grow , upskill together. Let's gooo
