The interview problem

Practice prompt

A warehouse scanning system must label floor, racks and pallets in a 3D point cloud. Design inference that tolerates varying point density without depending on input order.

Original practice, not a reported company interview. All scenarios and worked numbers are illustrative. Interview date: not applicable. Sources retrieved September 30, 2026.

1. Scope and assumptions

This is semantic point labeling for inventory assistance, not autonomous motion control. Assume calibrated coordinates and a defined sensor range; unseen or occluded surfaces are not available evidence.

2. Worked approach

calibrated points
  → spatial tiles
  → point/voxel model
  → overlap stitching
  → labeled source points

Validate coordinate units and sensor transforms, remove invalid returns and partition large scans with overlapping spatial tiles. Use a permutation-invariant point-set baseline or voxel representation and map predictions back to original points. Stitch tile overlaps with a documented confidence rule.

Train across sites and sensor conditions, maintaining rare-object examples rather than sampling only dense floor points. Preserve unknown labels near unsupported geometry. Store scan timestamps and model version so operators can trace a reported pallet to its source evidence.

3. Calculate the example

Suppose a 1-million-point scan stores XYZ as three 32-bit floats: positions alone require 12 MB. Adding three float features doubles this to 24 MB, before tensors and indices. For a pallet class, 80 correct predicted points, 20 false positives and 40 missed true points give IoU = 80/(80+20+40) ≈ 57.14%. A 98% overall point accuracy can still hide this minority-class weakness when the floor dominates.

4. Failure cases and trade-offs

Changing meters to millimeters shifts coordinates by 1,000×. Uniform random subsampling can erase a small pallet edge. Nearby points from one scan in both train and test give optimistic generalization. Tile borders can duplicate or fragment objects.

Voxels provide regular computation but discard detail at the selected resolution. Point methods retain sparse geometry but require neighborhood and batching choices. Adaptive sampling preserves small objects at more complexity; evaluate the whole mapping back to the original scan.

5. Validate the result

Shuffle point order, vary density, hide regions and introduce calibration errors. Report per-class IoU, object-level usefulness and unknown coverage by site. Benchmark peak memory with the largest scan and verify coordinate-transform round trips.

6. Interview follow-ups and self-review

What changes for moving objects during a scan? How would you distinguish two adjacent pallets?

Reward permutation and coordinate reasoning, rare-class metrics, memory arithmetic and scan-level validation splits.

Sources and related practice

Technical reference: arxiv.org — PointNet point-set learning reference; warehouse pipeline and worked figures are original.

Exact publication/update date not established in this review. Retrieved September 30, 2026. This reference supports the named technical concept; the proposed workflow and examples are original, not a documented vendor implementation or interview report.

Continue with Detect rare manufacturing defects from images; Class imbalance and decision thresholds.

Continue your preparation

Choose a connected learning path or browse more ML system design questions. Read our editorial method and attribution policy.