Skip to content

Instantly share code, notes, and snippets.

/**
* 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
/**
* 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
@TonyWuLihu
TonyWuLihu / parquetmerge.py
Created December 26, 2016 08:59
Merge parquet files locally
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):