โ† Goldman Sachs questions
CodingReported in a candidate post, Aug 2021

Reverse stack without extra space and graph connected components

Filed under Goldman Sachs

The question

Reverse a stack without using any extra space, and solve a problem reducible to finding connected components in a graph.

No write-up yet. Related questions below have one.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.