[leetcode]roman to integer(罗马数字转整数)
题目描述 Given a roman numeral, convert it to an integer.In […]
[leetcode]Same Tree
题目描述 Given two binary trees, write a function to check […]
[leetcode]populating next right pointers in each node
题目描述 题目描述 Given a binary tree struct TreeLinkNode { Tre […]
[Leetcode]copy list with random pointer
题目描述 A linked list is given such that each node contain […]
leetcode之single-number-ii、Gas station、word break
single-number-ii Given an array of integers, every elem […]
《剑指Offer》题目解析(12)
题目1 序列化二叉树 题目描述 请实现两个函数,分别用来序列化和反序列化二叉树 题目解析 序列化二叉树可以使用 […]
算法笔记之线性规划网络流问题(5)
最大收益问题 问题分析 经过分析,又根据最大流最小割定理,最大流的流值等于最小割容量。即:实验方案净收益=所有 […]