Quick Overview

Merge straight lane segments, each given as a list of collinear integer points, so that segments lying on the same line whose extents overlap or touch become one segment containing all of their points. It tests exact collinearity checks, handling of horizontal and vertical segments, and interval merging along each line.

Merge Overlapping Collinear Lane Segments Given as Integer Point Lists

Company: Applied Intuition

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Merge straight lane segments, each given as a list of collinear integer points, so that segments lying on the same line whose extents overlap or touch become one segment containing all of their points. It tests exact collinearity checks, handling of horizontal and vertical segments, and interval merging along each line.

Read the full Applied Intuition Software Engineer interview experience this question came from

Merge Overlapping Collinear Lane Segments Given as Integer Point Lists

Applied Intuition • Software Engineer

Loading…