240 发简信
IP属地:四川
  • Leetcode258---Add Digits

    Given a non-negative integer num, repeatedly add all its digits until th...

  • leetcode8---String to Integer (atoi)

    Implement atoi to convert a string to an integer.Hint: Carefully conside...

  • leetcode7---Reverse Integer

    Reverse digits of an integer.Example1: x = 123, return 321Example2: x = ...

  • leetcode6---ZigZag Conversion

    The string "PAYPALISHIRING" is written in a zigzag pattern on a given nu...

  • leetcode5---Longest Palindromic Substring

    Given a string s, find the longest palindromic substring in s. You may a...

  • leetcode4---Median of Two Sorted Arrays

    There are two sorted arrays nums1 and nums2 of size m and n respectively...

  • leetcode3---Longest Substring Without Repeating Characters

    Given a string, find the length of the longest substring without repeati...

  • leetcode2---Add Two Numbers

    You are given two non-empty linked lists representing two non-negative i...

  • leetcode1---Two Sum

    Given an array of integers, return indices of the two numbers such that ...