solutions.py
57 subscribers
206 photos
183 links
admin: @Xojarbu
Download Telegram
Title: 46. Permutations II
URL: leetcode
Level: Medium
#bit_manipulations
Title: Check Power of Two
URL: binarysearch
Level: Easy
! if n is power of 2, in binary numbers it will have only one '1' (e.g 64=> 100000),
if not power of 2, it will have more than one '1's. (e.g 33=>10001)
#bit_manipulations
Title: Number of Bits
URL: binarysearch
Level: Easy
#bit_manipulations
Title: Hamming Distance
URL: binarysearch
Level: Easy
#linked_list
Title: Linked List Jumps
URL: binarysearch
Level: Easy
#Trees, #DFS
Title: 404. Sum of Left Leaves
URL:
leetcode
Level: Easy
!! in the image comments where DFS , it is BFS and BFS comment is DFS approach.
#Trees, #DFS
Title: 200. Number of Islands
URL:
leetcode
Level: Medium
Title: Longest Anagram Subsequence
URL:
binarysearch
Level: Medium
Title: Shortest String
URL:
binarysearch
Level: Easy
Title: 1404. Number of Steps to Reduce a Number in Binary Representation to One
URL:
leetcode
Level: Medium
Title: 102. Binary Tree Level Order Traversal
URL: leetcode
Level: Medium
Title: Longest Consecutive Duplicate String
URL: binarysearch.com
Level: Easy
#two_pointers
Title: Merging Two Sorted Lists
URL: binarysearch.com
Level: Easy
#linked_list #fast_slow
Title: Kth Last Node of a Linked List
URL: binarysearch
Level: Medium
#bit_manipulation
Title: Lone Integer
URL: binarysearch
Level: Medium
Space: O(1)
Title: Running Sum of 1d Array
URL: leetcode
Level: Easy
Title: Least Number of Unique Integers after K Removals
URL: leetcode
Level: Medium
#two_pointers
Title: Sum of Two Numbers with Sorted List
URL: binarysearch
Level: Easy
#binary_tree #DFS
Title: Invert Tree
URL: binarysearch
Level: Medium
#binary_tree #DFS
Title: Univalue Tree
URL: binarysearch
Level: Medium
#binary_tree #DFS
Title: Leaves in Same Level
URL: binarysearch
Level: Medium