8Deleting the last node of a singly linked list (with only a head pointer) takes:AO(n²)BO(log n)CO(1)DO(n)View AnswerWorkspaceReportSaveEasy