怎么创建测试用例
来源:5-1 Leetcode中和链表相关的问题

qq_往事_8
2019-03-29
关于这道题的测试用例应该怎么创建啊
不知道该怎么写,老师能给个例子吗
写回答
1回答
-
liuyubobobo
2019-03-29
可以参考这里:
https://github.com/liuyubobobo/Play-with-Algorithm-Interview/tree/master/05-About-Linked-List/Course%20Code%20(Java)/03-Remove-Linked-List-Elements/src
我扩充了ListNode类。具体使用,可以参考Solution类中的main函数:)
继续加油!:)
00
相似问题