New York City was battered by torrential rain and thunderstorms on Saturday, triggering flash flood warnings and widespread disruption across the five boroughs.