Research

[LeetCode 1] Two Sum

Solution Article Approach 1: Brute Force The brute force approach is simple. Loop through each ...
Algorithms

[LeetCode 297] Serialize and Deserialize Binary Tree

References: https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ Solution Approach 1: Depth First Search (DFS) Intuition The serialization of a Binary Search Tree is essentially ...
Research

[LeetCode 146] LRU Cache

Solution Approach 1: Ordered dictionary Intuition We’re asked to implement the structure which provides the following operations ...

[LeetCode 15] 3Sum

Solution This problem is a follow-up of Two Sum, and it is a good idea ...

[LeetCode 1] Two Sum

Solution Article Approach 1: Brute Force The brute force approach is simple. Loop through each ...

[LeetCode 297] Serialize and Deserialize Binary Tree

References: https://leetcode.com/problems/serialize-and-deserialize-binary-tree/ Solution Approach 1: Depth First Search (DFS) Intuition The serialization of a Binary Search Tree is essentially ...

Research

Research

Leetcode 139. Word Break

Computer Science Topics

Python – Remove first element of list

Computer Science Topics

Algorithms

Algorithms

Algorithms

Algorithms

Algorithms