Code
The highlighted line runs next. The pill shows the live values in the running call.
Variables
The data structures the code is building
Word graph
Edges join words one letter apart; columns = distance from beginWord
current wordbadge = ladder length so faredge used to discover a wordbeing followed