Skip to content

Instantly share code, notes, and snippets.

public class _218_TheSkylineProblem {
public List<int[]> getSkyline(int[][] buildings) {
List<int[]> result = new ArrayList<>();
List<int[]> height = new ArrayList<>();
for (int[] b : buildings) {
/**