← Questions

Compress a vertex list into unique vertices and indices

0
Applied IntuitionCodingLast asked Feb 2026

Turn a list of vertex tuples into a list of unique vertices in first-seen order plus an index array that rebuilds the original list.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding