算法设计与分析(九)--动态规划

Burst Balloons 题目 Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to bu...

2018-10-30 22:14:53

阅读数:14

评论数:0

算法设计与分析--动态规划(八)

Longest Increasing Path in a Matrix 题目 Given an integer matrix, find the length of the longest increasing path. From each cell, you can either move t...

2018-10-27 11:37:18

阅读数:15

评论数:0

算法设计与分析(七)

贪心算法 题目 这次我们选择两题贪心算法作为练习,这两道题目是有关系的,一个是比较基础的贪心,另一个是难一点的贪心。 Jump Game Given an array of non-negative integers, you are initially positioned at the fir...

2018-10-18 23:46:51

阅读数:14

评论数:0

算法设计与分析(六

Merge k Sorted Lists 题目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: Input: [ 1-&a...

2018-10-11 19:30:11

阅读数:20

评论数:0

算法设计与分析(五)

Is Graph Bipartite? 1. 题目 Given an undirected graph, return true if and only if it is bipartite. Recall that a graph is bipartite if we can split it’...

2018-10-04 10:04:31

阅读数:16

评论数:0

区块链Solidity教程之文件结构(一)

版本声明 pragma solidity ^0.4.0; 表示低于这个对应版本的编译器才可以编译。 引用文件 与python引用文件一样,通过import引用文件 全局引入 import “filename”; 自定义命名空间引入 import * as symbolName from “fil...

2018-10-30 22:42:48

阅读数:31

评论数:0

LeetCode--Keys and Rooms

Keys and Rooms 题目 There are N rooms and you start in room 0. Each room has a distinct number in 0, 1, 2, …, N-1, and each room may have some keys to...

2018-10-14 22:20:26

阅读数:12

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭