nathanwailes

Nathanwailes's Pastebin

USA    3,328 81,981 0 3 years ago
Name / Title Added Expires Hits Comments Syntax  
System design interview framework Sep 25th, 2024 Never 131 0 None -
Basic system design patterns to rehearse daily Sep 25th, 2024 Never 60 0 None -
Binary tree - Are two trees the same Sep 9th, 2024 Never 115 0 Python -
Linked List - Merge two sorted lists Aug 21st, 2024 Never 167 0 Python -
Linked List - Reverse a linked list Aug 21st, 2024 Never 106 0 Python -
Linked List - Get middle node Aug 21st, 2024 Never 108 0 Python -
range() Jun 18th, 2024 Never 614 0 Python -
Fibonacci - Dynamic Programming Jun 18th, 2024 Never 587 0 Python -
Fibonacci - Recursive Jun 18th, 2024 Never 616 0 Python -
Fibonacci - Iterative Jun 18th, 2024 Never 511 0 Python -
Knapsack - Unbounded - DP - v1 Jun 15th, 2024 Never 473 0 Python -
Binary trees Jun 10th, 2024 Never 491 0 Python -
Binary tree - Get height Jun 10th, 2024 Never 356 0 Python -
Top k most-frequent elements Jun 10th, 2024 Never 372 0 Python -
Merge k sorted lists Jun 10th, 2024 Never 348 0 Python -
Find kth largest (using heapq) Jun 10th, 2024 Never 353 0 Python -
Heap sort (using heapq) Jun 10th, 2024 Never 410 0 Python -
TreeMaps / SortedDicts Jun 9th, 2024 Never 574 0 Python -
Defaultdicts Jun 9th, 2024 Never 436 0 Python -
Namedtuple Jun 9th, 2024 Never 480 0 Python -
Heapq Jun 9th, 2024 Never 542 0 Python -
Deques Jun 9th, 2024 Never 364 0 Python -
Sets Jun 9th, 2024 Never 459 0 Python -
Dicts Jun 9th, 2024 Never 495 0 Python -
Recursion Jun 9th, 2024 Never 443 0 Python -
Lists Jun 9th, 2024 Never 545 0 Python -
Coin change - DP Jun 9th, 2024 Never 532 0 Python -
0/1 Knapsack - Recursive Jun 8th, 2024 Never 452 0 Python -
0/1 Knapsack - DP Jun 8th, 2024 Never 419 0 Python -
QuickSelect May 18th, 2024 Never 1,070 0 Python -
Radix sort May 18th, 2024 Never 941 0 Python -
Heap sort May 18th, 2024 Never 870 0 Python -
QuickSort May 18th, 2024 Never 883 0 Python -
Merge sort May 18th, 2024 Never 755 0 Python -
Insertion sort May 18th, 2024 Never 718 0 Python -
Selection sort May 18th, 2024 Never 584 0 Python -
Bubble sort May 18th, 2024 Never 618 0 Python -
Partition algorithm May 18th, 2024 Never 633 0 Python -
A* algorithm Apr 14th, 2024 Never 885 0 Python -
Dijkstra's algorithm Apr 14th, 2024 Never 934 0 Python -
Heap Apr 5th, 2024 Never 745 0 Python -
Topological sort Apr 5th, 2024 Never 734 0 Python -
Coming up with edge cases Apr 3rd, 2024 Never 131 0 None -
Binary tree - Mirror/Invert Apr 1st, 2024 Never 1,093 0 Python -
Binary search (iterative) Mar 29th, 2024 Never 194 0 None -
Breadth-first search (recursive) Mar 29th, 2024 Never 1,147 0 Python -
Depth-first search (iterative) Mar 29th, 2024 Never 929 0 Python -
Basic algorithms/techniques to rehearse daily Mar 28th, 2024 Never 785 0 None -
Divide and Conquer Mar 26th, 2024 Never 813 0 Python -
Backtracking Mar 26th, 2024 Never 765 0 Python -
Dynamic Programming - Fibonacci Sequence Mar 26th, 2024 Never 899 0 Python -
Two pointers Mar 26th, 2024 Never 669 0 Python -
Binary search (recursive) Mar 26th, 2024 Never 607 0 Python -
Depth-first search (recursive) Mar 24th, 2024 Never 763 0 Python -
Breadth-first search (iterative) Mar 24th, 2024 Never 656 0 Python -
LeetCode 1249 - Minimum Remove to Make Valid Parentheses - 53ms solution Mar 9th, 2024 Never 946 0 Python -
LeetCode 314 - Binary Tree Vertical Order Traversal - 2024.03.09 solution Mar 9th, 2024 Never 1,101 0 Python -
LeetCode 84 - Largest Rectangle in Histogram - 2023.11.09 solution Nov 8th, 2023 Never 978 0 Python -
LeetCode 739 - Daily Temperatures - 2023.10.31 solution Oct 31st, 2023 Never 1,048 0 Python -
LeetCode 22 - Generate Parentheses - NeetCode solution Oct 30th, 2023 Never 1,036 0 Python -
LeetCode 150 - Evaluate Reverse Polish Notation - 2023.10.29 solution Oct 29th, 2023 Never 1,031 0 Python -
LeetCode 155 - Min Stack - 2023.10.28 solution Oct 28th, 2023 Never 1,064 0 Python -
LeetCode 20 - Valid Parentheses - 2023.10.27 solution Oct 27th, 2023 Never 1,053 0 Python -
LeetCode 239 - Sliding Window Maximum - NeetCode solution Oct 20th, 2023 Never 850 0 Python -
LeetCode 76 - Minimum Window Substring - NeetCode solution Oct 16th, 2023 Never 833 0 Python -
LeetCode 76 - Minimum Window Substring - 2023.10.16 solution Oct 16th, 2023 Never 761 0 Python -
LeetCode 567 - Permutation in String - NeetCode solution Oct 14th, 2023 Never 1,525 0 Python -
LeetCode 567 - Permutation in String - 2023.10.15 solution Oct 14th, 2023 Never 1,808 0 Python -
LeetCode 424 - Longest Repeating Character Replacement - Rewritten NeetCode solution Oct 14th, 2023 Never 1,300 0 Python -
LeetCode 424 - Longest Repeating Character Replacement - 2023.1014 solution Oct 14th, 2023 Never 699 0 Python -
LeetCode 424 - Longest Repeating Character Replacement - NeetCode solution Oct 14th, 2023 Never 722 0 Python -
LeetCode 3 - Longest Substring Without Repeating Characters - 2023.10.13 solution Oct 13th, 2023 Never 868 0 Python -
LeetCode 121 - Best Time to Buy and Sell Stock - 2023.10.12 solution Oct 11th, 2023 Never 1,166 0 Python -
LeetCode 42 - Trapping Rain Water - NeetCode solution Oct 10th, 2023 Never 1,226 0 Python -
LeetCode 42 - Trapping Rain Water - 2023.10.11 solution Oct 10th, 2023 Never 1,288 0 Python -
LeetCode 11 - Container With Most Water - 2023.10.10 solution Oct 9th, 2023 Never 1,251 0 Python -
LeetCode 15 - 3Sum - NeetCode solution Oct 9th, 2023 Never 844 0 Python -
LeetCode 15 - 3Sum - 2023.10.09 solution Oct 8th, 2023 Never 878 0 Python -
LeetCode 167 - Two Sum II - NeetCode solution Oct 7th, 2023 Never 1,117 0 Python -
LeetCode 167 - Two Sum II - 2023.10.08 solution Oct 7th, 2023 Never 1,255 0 Python -
LeetCode 125 - Valid Palindrome - NeetCode solution Oct 6th, 2023 Never 1,424 0 Python -
LeetCode 125 - Valid Palindrome - 2023.10.07 solution Oct 6th, 2023 Never 1,116 0 Python -
LeetCode 238 - Product of Array Except Self - NeetCode solution Oct 5th, 2023 Never 884 0 Python -
LeetCode 238 - Product of Array Except Self - 2023.10.06 solution Oct 5th, 2023 Never 947 0 Python -
LeetCode 217 - Contains Duplicate - NeetCode solution Oct 5th, 2023 Never 1,093 0 Python -
LeetCode 217 - Contains Duplicate - 2023.10.05 solution Oct 5th, 2023 Never 1,346 0 Python -
LeetCode 347 - Top K Frequent Elements - 2023.10.04 solution Oct 3rd, 2023 Never 1,335 0 Python -
LeetCode 36 - Valid Sudoku - NeetCode solution Oct 2nd, 2023 Never 1,022 0 Python -
LeetCode 36 - Valid Sudoku - 2023.10.03 solution Oct 2nd, 2023 Never 1,021 0 Python -
LeetCode 128 - Longest Consecutive Sequence - 2023.10.02 solution Oct 1st, 2023 Never 1,030 0 Python -
LeetCode 49 - Group Anagrams - 2023.09.30 solution Sep 30th, 2023 Never 890 0 Python -
LeetCode 49 - Group Anagrams - 2022.12.19 solution Sep 30th, 2023 Never 1,141 0 Python -
LeetCode 49 - Group Anagrams - NeetCode solution Sep 30th, 2023 Never 795 0 Python -
LeetCode 242 - Valid Anagram - 2023.09.29 solution Sep 29th, 2023 Never 1,049 0 Python -
LeetCode 1 - Two Sum - 2023.09.29 solution Sep 28th, 2023 Never 1,277 0 Python -
LeetCode 271 - Encode and Decode Strings - 2023.09.28 solution Sep 28th, 2023 Never 1,001 0 Python -
LeetCode 42 - Trapping Rain Water - 2023.04.02 solution Apr 2nd, 2023 Never 204 0 Python -
LeetCode 125 - Valid Palindrome - 2023.04.01 solution Apr 1st, 2023 Never 248 0 Python -
LeetCode 242 - Valid Anagram - 2023.03.31 solution from ChatGPT Mar 31st, 2023 Never 179 0 Python -
LeetCode 238 - 2022.03.28 solution Mar 29th, 2023 Never 158 0 Python -