Generally the N prefixed buses run a dedicated night route which might, or might not, be very similar to the daytime version. Non N prefixed buses than run 24 hours follow the identical route regardless of time (though obviously frequency varies hugely).