240 发简信
IP属地:浙江
  • 最大子序列和问题的几种实现

    算法一,暴力法,时间复杂度O(n^3): 算法二,时间复杂度O(n^2): 算法三,在线处理,时间复杂度O(n): 算法四,分治法,时间复杂度O...

  • 1002. A+B for Polynomials (25)

    A+B for Polynomials (25) 时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard...

  • 1001. A+B Format (20)

    时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yue Calculate a +...

  • 485. Max Consecutive Ones

    Given a binary array, find the maximum number of consecutive 1s in this ...

  • 4. Median of Two Sorted Arrays

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

  • 3. Longest Substring Without Repeating Characters

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

  • 2. Add Two Numbers

    You are given two linked lists representing two non-negative numbers. Th...

  • 1. Two Sum

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