#

lintcode

  • LintCode如何实现排序列表转换为二分查找树

    这篇文章给大家分享的是有关LintCode如何实现排序列表转换为二分查找树的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。给出一个所有元素以升序排序的单链表,将它转换成一棵高

    作者:小新
    2021-07-22 15:08:09
  • LintCode中堆化的示例分析

    这篇文章将为大家详细讲解有关LintCode中堆化的示例分析,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。LintCode 堆化详解及实例代码给出一个整数数组,堆化

    作者:小新
    2021-07-22 09:49:04
  • Lintcode39 Recover Rotated Sorted Array solution 题解

    【题目描述】Given a rotated sorted array, recover it to sorted array in-place.给定一个旋转排序数组,在原地恢复其排序。【题目链接】ht

    作者:abcdd1234567890
    2020-07-30 18:10:14
  • Lintcode31 Partition Array solution题解

    【题目描述】Given an array nums of integers and an int k, partition the array (i.e move the elements in "n

    作者:sun511230
    2020-07-26 04:01:26
  • Lintcode32 Minimum Window Substring solution 题解

    【题目描述】Given a string source and a string target, find the minimum window in source which will contai

    作者:sun511230
    2020-07-06 01:23:25
  • Lintcode42 Maximum Subarray II solution 题解

    【题目描述】Given an array of integers, find two non-overlapping subarrays which have the largest sum.The

    作者:abcdd1234567890
    2020-07-05 18:52:14
  • Lintcode40 Implement Queue by Two Stacks solution 题解

    【题目描述】As the title described, you should only use two stacks to implement a queue's actions.The queu

    作者:abcdd1234567890
    2020-07-03 11:03:00
  • Lintcode36 Reverse Linked List II solution 题解

    【题目描述】Reverse a linked list from position m to n.Notice:Given m, n satisfy the following condition:

    作者:abcdd1234567890
    2020-06-29 03:47:54
  • Lintcode33 N-Queens solution 题解

    【题目描述】The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two q

    作者:sun511230
    2020-06-25 10:39:10
  • Lintcode35 Reverse Linked List solution 题解

    【题目描述】Reverse a linked list.翻转一个链表【题目链接】http://www.lintcode.com/en/problem/reverse-linked-list/【题目解析

    作者:sun511230
    2020-06-05 22:53:50