Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. /**
  2.  * Definition for ListNode
  3.  * public class ListNode {
  4.  *     int val;
  5.  *     ListNode next;
  6.  *     ListNode(int x) {
  7.  *         val = x;
  8.  *         next = null;
  9.  *     }
  10.  * }
  11.  */
  12.  
  13. public class Solution {
  14.     /**
  15.      * @param l1: the first list
  16.      * @param l2: the second list
  17.      * @return: the sum list of l1 and l2
  18.      */
  19.     public ListNode addLists(ListNode l1, ListNode l2) {
  20.         // write your code here
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement