✕ Clear all filters
92 articles
▶ Videos →

📰 Dev.to · tracelit

92 articles · Updated every 3 hours · View all reads

All Articles 177,072Blog Posts 163,963Tech Tutorials 47,236Research Papers 34,896News 22,278 ⚡ AI Lessons
LeetCode 239: Sliding Window Maximum — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 239: Sliding Window Maximum — Step-by-Step Visual Trace
Find the maximum element in each sliding window of size k as it moves from left to right through an array. Return an array containing the maximum value for each
LeetCode 206: Reverse Linked List — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 206: Reverse Linked List — Step-by-Step Visual Trace
Watch pointers move through a linked list reversal line by line. Interactive visualization with TraceLit.
LeetCode 56: Merge Intervals — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 56: Merge Intervals — Step-by-Step Visual Trace
Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals and return an array of the non-overlapping intervals that cover
LeetCode 1046: Last Stone Weight — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 1046: Last Stone Weight — Step-by-Step Visual Trace
Given an array of stone weights, repeatedly smash the two heaviest stones together until at most one stone remains, returning the weight of the last stone or 0
LeetCode 207: Course Schedule — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 207: Course Schedule — Step-by-Step Visual Trace
Determine if it''s possible to finish all courses given a list of prerequisite pairs, where each pair [a,b] indicates course a requires course b to be completed
LeetCode 322: Coin Change — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 322: Coin Change — Step-by-Step Visual Trace
Given an array of coin denominations and a target amount, find the minimum number of coins needed to make up that amount, or return -1 if it''s impossible.
LeetCode 212: Word Search Ii — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 212: Word Search Ii — Step-by-Step Visual Trace
Given a 2D board of characters and a list of words, find all words from the list that can be formed by sequentially adjacent letters on the board, where each ce
LeetCode 286: Walls And Gates — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 286: Walls And Gates — Step-by-Step Visual Trace
Fill each empty room with the distance to its nearest gate, where rooms are represented by a 2D grid with gates (0), walls (-1), and empty rooms (INF).
LeetCode 62: Unique Paths — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 62: Unique Paths — Step-by-Step Visual Trace
Find the number of unique paths from the top-left corner to the bottom-right corner of an m x n grid, where you can only move right or down.
LeetCode 42: Trapping Rain Water — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 42: Trapping Rain Water — Step-by-Step Visual Trace
Given an elevation map represented by an array of non-negative integers, calculate how much water can be trapped after raining.
LeetCode 130: Surrounded Regions — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 130: Surrounded Regions — Step-by-Step Visual Trace
Given a 2D board containing ''X'' and ''O'', capture all regions of ''O'' that are completely surrounded by ''X'' by flipping them to ''X''. Regions connected t
LeetCode 78: Subsets — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 78: Subsets — Step-by-Step Visual Trace
Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets and can be retu
LeetCode 33: Search In Rotated Sorted Array — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 33: Search In Rotated Sorted Array — Step-by-Step Visual Trace
Find the index of a target value in a rotated sorted array, where a sorted array has been rotated at some pivot point. Return -1 if the target is not found.
LeetCode 994: Rotting Oranges — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 994: Rotting Oranges — Step-by-Step Visual Trace
Given a 2D grid representing oranges where 0=empty, 1=fresh orange, 2=rotten orange, determine the minimum time in minutes for all fresh oranges to rot, or retu
LeetCode 143: Reorder List — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures 5mo ago
LeetCode 143: Reorder List — Step-by-Step Visual Trace
Given the head of a singly linked list, reorder it by alternating nodes from the beginning and end of the list in-place.
LeetCode 416: Partition Equal Subset Sum — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 416: Partition Equal Subset Sum — Step-by-Step Visual Trace
Given an integer array, determine if it can be partitioned into two subsets with equal sum.
LeetCode 417: Pacific Atlantic Water Flow — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 417: Pacific Atlantic Water Flow — Step-by-Step Visual Trace
Find all cells in a 2D matrix where rainwater can flow to both the Pacific Ocean (left and top edges) and Atlantic Ocean (right and bottom edges), where water f
LeetCode 76: Minimum Window Substring — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 76: Minimum Window Substring — Step-by-Step Visual Trace
Find the minimum window substring in string s that contains all characters of string t. If no such window exists, return an empty string.
LeetCode 4: Median Of Two Sorted Arrays — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 4: Median Of Two Sorted Arrays — Step-by-Step Visual Trace
Find the median of two sorted arrays without merging them into a single array. The overall run time complexity should be O(log (m+n)).
LeetCode 104: Maximum Depth Of Binary Tree — Step-by-Step Visual Trace
Dev.to · tracelit ⚡ Algorithms & Data Structures ⚡ AI Lesson 5mo ago
LeetCode 104: Maximum Depth Of Binary Tree — Step-by-Step Visual Trace
Given the root of a binary tree, return its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthe