由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 这个题目怎么做的啊?
相关主题
继续贴几个题目Find the node with given value in binary tree in in-order
请教一道面试题Find the longest word given a collection
Target coinsWrite an iterative method that finds depth of a (non-balanced) binary tree.
Given coins of value {k1, k2, ..., km}, 用最少硬币数组成一个sum 咋做啊Two Sigma 面经 + 求问onsite之后多长时间给结果
Amazon面试题请教Google onsite问题
find subset that sum up to given number新鲜C3 energy面经
Given an array of N integers from range [0, N] and one is missing. Find the missing number.F家的一道题。看起来好像很凶残的样子。求大家给思路给想法。。囧
再问个coin change的问题找零钱dp的问题
相关话题的讨论汇总
话题: coins话题: 题目话题: given话题: amount
进入JobHunting版参与讨论
1 (共1页)
s********a
发帖数: 2796
1
Write a program that given 4 coin denominations and a dollar amount finds
the best way to express that amount using the coins given. (I.e. you have
coins with denominations of 1c, 7c, 13c,19c and you have to express $2.12
with the least number of coins.)
是从大的开始选,直到最小的,最后等于总额么?
b*****c
发帖数: 1103
2
整数规划/用动态规划也行
a********m
发帖数: 15480
3
恩。基本上是书本上的标准dp题目。

【在 b*****c 的大作中提到】
: 整数规划/用动态规划也行
1 (共1页)
进入JobHunting版参与讨论
相关主题
找零钱dp的问题Amazon面试题请教
问道硬币题目find subset that sum up to given number
An online coding test problemGiven an array of N integers from range [0, N] and one is missing. Find the missing number.
也问两个算法题再问个coin change的问题
继续贴几个题目Find the node with given value in binary tree in in-order
请教一道面试题Find the longest word given a collection
Target coinsWrite an iterative method that finds depth of a (non-balanced) binary tree.
Given coins of value {k1, k2, ..., km}, 用最少硬币数组成一个sum 咋做啊Two Sigma 面经 + 求问onsite之后多长时间给结果
相关话题的讨论汇总
话题: coins话题: 题目话题: given话题: amount