码迷,mamicode.com
首页 >  
搜索关键字:minimum    ( 3256个结果
120. Triangle
Problem : Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, gi ...
分类:其他好文   时间:2020-02-10 00:20:24    阅读次数:81
LeetCode 1347. Minimum Number of Steps to Make Two Strings Anagram
"题目" 用hash,比较两个字符串数组的每个字符的hash值 ...
分类:其他好文   时间:2020-02-09 20:36:37    阅读次数:64
【leetcode】1347. Minimum Number of Steps to Make Two Strings Anagram
题目如下: Given two equal-size strings s and t. In one step you can choose any character of t and replace it with another character. Return the minimum nu ...
分类:其他好文   时间:2020-02-09 18:39:10    阅读次数:68
Flip Game / POJ 1753
Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other o ...
分类:其他好文   时间:2020-02-08 22:02:58    阅读次数:86
【leetcode】1338. Reduce Array Size to The Half
题目如下: Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of t ...
分类:其他好文   时间:2020-02-08 15:25:57    阅读次数:69
Leetcode 76 Minimum Window Substring. (最小窗口子字符串) (滑动窗口, 双指针)
[TOC] "Leetcode 76" 问题描述 例子 解决方案 ...
分类:Windows程序   时间:2020-02-08 14:00:01    阅读次数:89
【Thymeleaf】使用学习
【Thymeleaf】使用学习 1、spring boot 整合 Thymeleaf 2、spring security 使用 3、标签使用 1、spring boot 整合 Thymeleaf <dependency> <groupId>org.springframework.boot</grou ...
分类:其他好文   时间:2020-02-08 11:49:59    阅读次数:85
[Agc005D/At2060] Minimum Sum - 单调栈
鉴于早上那题让我怀疑单调栈白学,特意来复习下单调栈 题意 考虑按照每个元素对答案的贡献来统计,那么我们只需要找到每个元素左边右边第一个比它小的就可 这题给的又是排列,简直不能再良心 ...
分类:其他好文   时间:2020-02-07 00:49:07    阅读次数:62
1249. Minimum Remove to Make Valid Parentheses
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any position ...
分类:其他好文   时间:2020-02-06 14:49:15    阅读次数:69
[算法] 带权图
最小生成树(Minimum Span Tree):对于带权无向连通图。所有节点都连通且总权值最小。应用:电缆布线、网络、电路设计 找V-1条边,连接V个顶点,总权值最小 切分定理(Cut Property):给定任意切分,横切边中权值最小的边必属于最小生成树 切分:把图中节点分为两部分 横切边:边的 ...
分类:编程语言   时间:2020-02-05 16:12:21    阅读次数:109
3256条   上一页 1 ... 19 20 21 22 23 ... 326 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!