educative.io

Educative

This blew me way

my solution, which passed the test case, was like 4 lines. just iterate through each linked list node, then iterate through the array. wow. needs more test cases to be a decent problem


Course: Data Structures for Coding Interviews in Python - Learn Interactively
Lesson: Solution Review: Implement Breadth First Search - Data Structures for Coding Interviews in Python

Hi @James10,

Thanks for your feedback.