All things engineering: processes, best practices, setup guides, and more!

Algorithm Types

BFS: Bread First Search, DFS: Depth First Search, DP: Dynamic Programming, Double pointer, and so on!

Coding journals

15Jan2022: Jump Game IV with BFS and bidirectional BFS

19Jan2022: Find the entry point of a cycle in a linked list

Binary search terminating condition: include the case where left==right in the loop. Because mid will exclude the index satisfying “==”.

22Jan2022: Gas Station

27Jan2022 Maximum XoR of Two Numbers in an Array

29Jan2022: Largest Rectangle in Histogram

2Fev2022 Find All Anagrams in a String

5Fev2022 Merge K Sorted Lists

9Feb2022 K-diff Pairs in an Array

18Fev2022: Remove K Digits

23Fev2022: Clone Graph

24Fev2022: Sort Linked List (In O(n logn) time and O(1) memory)

25Fev2022: Compare version numbers

27Fev2022 Maximum Width of Binary Tree

Arithmetic Slices

6Mars2022 Delete and Earn