What are some of your favorite mid level Leetcode problems? Just comment with the problem number. It must be from Mid Level Difficulty Only.
Check out this post! "New Year Gift - Curated List of Top 75 LeetCode Questions to Save Your Time (Tech Careers)" https://us.teamblind.com/s/OaM1orEU
{Recursive, iterative, iterator for} x {inorder, postorder, preorder} traversal in binary tree
What is iterator for?
Enjoy -> https://leetcode.com/problems/binary-search-tree-iterator/description/
I remember liking merge K sorted lists because the solution with a round robin like insertion into the priority queue (and modification of the linked list) was cool to visualize
https://leetcode.com/problems/trapping-rain-water . Classified as Hard but it really is Medium. However, my true favorite is https://leetcode.com/problems/trapping-rain-water-ii . I don't remember if I solved the latter without peeking, but I enjoy recoding the answer every once in a while.
#none