码迷,mamicode.com
首页 >  
搜索关键字:lowest    ( 451个结果
1036 Boys vs Girls (25 分)
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Inp ...
分类:其他好文   时间:2021-06-20 17:53:20    阅读次数:0
表连接知识
#创建job_grades表/*CREATE TABLE job_grades(grade_level VARCHAR(3), lowest_sal int, highest_sal int); INSERT INTO job_gradesVALUES ('A', 1000, 2999); INSE ...
分类:其他好文   时间:2021-04-13 12:40:20    阅读次数:0
1106 Lowest Price in Supply Chain (25 分)
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer ...
分类:其他好文   时间:2021-02-24 13:20:28    阅读次数:0
二叉树的最近公共祖先--递归解法
来源: https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/solution/er-cha-shu-de-zui-jin-gong-gong-zu-xian-by-leetc-2/ 信息分类: IT/算法 ...
分类:其他好文   时间:2021-02-17 14:40:10    阅读次数:0
PAT(Advanced Level)A1106. Lowest Price in Supply Chain
题意 供应链有3种人,零售商,经销商和供应商,供应链上的人都可以从自己的供应商那里以P的价格买入,而后以r%的涨幅卖给下一级,问供应链上找零售商买价格最低是多少 思路 每一层的价格涨幅都是一样的,所以这个问题等价于从根结点出发找最短的路到零售商。用BFS和DFS都可以做,DFS代码量少我就用DFS了 ...
分类:其他好文   时间:2020-10-05 22:33:38    阅读次数:48
712. Minimum ASCII Delete Sum for Two Strings
Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = "sea", s2 = "eat" Output: ...
分类:其他好文   时间:2020-07-28 14:45:21    阅读次数:310
669. Trim a Binary Search Tree669.修剪二进制搜索树
[抄题]: Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You ...
分类:其他好文   时间:2020-05-23 09:45:44    阅读次数:50
1036 Boys vs Girls
This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female students. Inp ...
分类:其他好文   时间:2020-05-12 15:19:35    阅读次数:71
leetcode [236. 二叉树的最近公共祖先]
(https://leetcode cn.com/problems/lowest common ancestor of a binary tree/) 自己写这一题墨迹那么长时间最后还是选了一个超级暴力的方法,不仅代码长,而且很慢..... 具体思路就是进行在对树进行后序遍历的时候,对每个点进行一次 ...
分类:其他好文   时间:2020-05-10 17:06:00    阅读次数:59
PAT甲级:1036 Boys vs Girls (25分)
PAT甲级:1036 Boys vs Girls (25分) 题干 This time you are asked to tell the difference between the lowest grade of all the male students and the highest gra ...
分类:其他好文   时间:2020-05-05 10:32:02    阅读次数:63
451条   1 2 3 4 ... 46 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!