solutions.py
57 subscribers
206 photos
183 links
admin: @Xojarbu
Download Telegram
#tree #dfs

Title: Same Tree
URL: leetcode
Level: Easy
github

Time: O(N) -> O(q+p)
👍1
#tree #dfs

Title: Maximum Depth of Binary Tree
URL: leetcode
Level: Easy
👍2
#dp
Title: Jump Game II
URL: leetcode
Level: Medium
👍1
#prefix_sum
Title: 303. Range Sum Query - Immutable
leetcode
👍4
Check this out, it seems very useful quiz about Time Complexity:
https://www.interviews.school/timecomplexity#quiz
👍2
#subarray

Title: 53. Maximum Subarray
leetcode

(solution is from video, not by me yet)
👍2
#sliding_window
Title: 121.Best Time to Buy and Sell Stock
URL: leetcode
Level: Easy
👍2
#array
Title: 34. Find First and Last Position of Element in Sorted Array
URL:
https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
Level: Medium
Big O: O(N)
version 1
solutions.py
Two Sum #Leetcode 🔗Link
Version 2
Time: O(N)
👍2🔥2
My first Badge at leetcode
🔥7
Title: 128. Longest Consecutive Sequence
URL:
https://leetcode.com/problems/longest-consecutive-sequence/description/
Level: Medium
Big O: O(N)
version 1
🔥1
#tree
Title: 226. Invert Binary Tree
URL: leetcode.com
Level: Easy
👍1🤔1
Title: 92. Reverse Linked List II
URL: leetcode
Level: Medium
source
#linked_list
Title: 160. Intersection of Two Linked Lists
URL: leetcode
Level: Easy
source
Version 1 and Version 2
👍1
#fibonacci
Standard implementation of fibonacci
🔥1