House robber -2 Easy question after house robber 1 just use the same solution and re use the for loop with customised start and end position depending on if you rob house 1 or not.😃
Resident-Distance725
u/Resident-Distance725
Completed POTD and a medium DP problem.
Completed POTD (easy, but misread a line causing extra issues) + One more easy dp problem using memoization.
Completed first question for dp and POTD both easy 🤩
Completed a question for tree
Completed Count Good Nodes in Binary Tree. Will be moving to graphs tomorrow and then dp and then back to arrays and strings 😅
Completed right side view of a Binary tree. Along with going to watch biggest movie of the year.
Completed POTD and LCA OF BST, now I can prepare for vacations
Completed Diameter of binary tree
Did zig zag traversal using bfs.
Completed L107, similar to the other one just reverse the output array
Completed leetcode 104 using dfs recursion. Before being consumed by work😅
This week aiming to get good in traversals in trees. Completed L100 using recursion. Stuck on queue implementation for bfs unfortunately.
If you got some good videos on it add some in comments.
Starting this week with traversals, did BFS and DFS and level order traversals.
Easy one to end the weekend.