public static void Main()
IsPalindrome(new ListNode(5));
public static bool IsPalindrome(ListNode head) {
if(head == null || head.next == null)
while(fast != null && fast.next != null)
private static ListNode Reverse(ListNode head)
ListNode next = head.next;
public ListNode(int x) { val = x; }