Skip to content

Instantly share code, notes, and snippets.

View AMV007's full-sized avatar

Maxim AMV007

View GitHub Profile
@AMV007
AMV007 / test.cpp
Created March 6, 2020 17:43
some code for discuss
while (l1 || l2){
if (l1.val <= l2.val){
l3.insert(l1.val)
l1=l1.next
}
else{
l3.insert(l2.val)
l2=l2.next
}
}