This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Definition for singly-linked list. | |
* type ListNode struct { | |
* Val int | |
* Next *ListNode | |
* } | |
*/ | |
func addTwoNumbers(l1 *ListNode, l2 *ListNode) *ListNode { | |
var l3 *ListNode | |
fir_link := l1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Definition for singly-linked list. | |
* type ListNode struct { | |
* Val int | |
* Next *ListNode | |
* } | |
*/ | |
func rotateRight(head *ListNode, k int) *ListNode { | |
//insertNode := &ListNode{0,nil} | |
//insertNode = head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from datetime import date,datetime,timedelta | |
import datetime | |
import string | |
from pexpect import * | |
from os import remove,listdir | |
import os | |
import pprint | |
def chunks(l, n): |