Easy access to nitrogen-doped mesoporous interlinked carbon/NiO nanosheet for application in lithium-ion batteries and supercapacitors