摘要:
题目: Given a sorted linked list, delete all duplicates such that each element appear only once. (Easy) For example,Given 1->1->2, return 1->2.Given 1-> 阅读全文
摘要:
题目: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.(Medium) For exampl 阅读全文
摘要:
题目: Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a fun 阅读全文