[LC] Added solution to max opints on a line.