摘要:
Problem : You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of their no 阅读全文
摘要:
Problem : Implement strStr(). Return the index of the first occurrence of needle in haystack, or 1 if needle is not part of haystack. Example 1: Examp 阅读全文
摘要:
Problem : Given an array nums and a value val, remove all instances of that value in place and return the new length. Do not allocate extra space for 阅读全文
摘要:
Problem : Given a sorted array nums, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate 阅读全文
摘要:
Problem : Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: E 阅读全文
摘要:
Problem : Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string 阅读全文
摘要:
Problem : Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists 阅读全文
摘要:
Problem : Given a non empty string s and a dictionary wordDict containing a list of non empty words, determine if s can be segmented into a space sepa 阅读全文