Sắp cuối tuần rồi, kiếm một bài trên Leetcode về chơi cho vui 
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
Supposed the linked list is
1 -> 2 -> 3 -> 4and you are given the third node with value3, the linked list should become1 -> 2 -> 4after calling your function.
Luật chơi: Các bạn chỉ nên post code lên http://ideone.com/, ai muốn xem thì click vào xem. Không nên post trực tiếp lên mất hay ^^
Nhớ post kèm ngôn ngữ và thời gian thực thi nhé 
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?