LeetCode 269: Alien Dictionary — Step-by-Step Visual Trace
Hard — Graph | Topological Sort | BFS | String
The Problem
Given a list of words from an alien language sorted lexicographically, determine the order of letters in the alien alphabet. Return the alien dictionary as a string, or empty string if no val...
blog.tracelit.dev1 min read