Code like someone will read it tomorrow — because they will (and it might be you).
Clone Graph
Given a node in a connected undirected graph, return a deep copy of the graph.
Each
Think twice, code once.
Number of Islands
Given a 2D grid grid where '1' represents land and '0' represents water, count and return the number of islands.
An island
Code like a scientist, test like a skeptic, and refactor like an artist.
Longest Common Subsequence
Given two strings text1 and text2, return the length of the longest common subsequence between the two
Write code like you're telling a story—clear, intentional, and built to be understood.
Jump Game
You are given an integer array nums where each element nums[i]indicates your maximum