Redian新闻
>
Best Buy的GS3算deal吗?
avatar
Best Buy的GS3算deal吗?# PDA - 掌中宝
S*n
1
1. Recall Big O notation. A function is equal to O(g(n)) if its runtime, f(n) can be
bounded by g(n). That is, g(n) is “at least as bad” as f(n). Consider f(n) =
O(log(n!)). Does f(n) = O(n log(n))? Does f(n) = ω(1)? Ω(1)?
2. What is the difference between a map, a vector, and an array. Name a
situation for which each is uniquely well-suited.
多谢多谢!
avatar
j*c
2
statement出来了,两笔小额的消费给了 5%,一笔大额的没给,靠
avatar
m*w
3
150升级,加税200。
avatar
m*2
4
靠, 啥问题。。。
f(n) = O(n log(n))
f(n) = ω(1)
map is a dictionary
vector is more generic array.

f(n) can be
f(n) =

【在 S*********n 的大作中提到】
: 1. Recall Big O notation. A function is equal to O(g(n)) if its runtime, f(n) can be
: bounded by g(n). That is, g(n) is “at least as bad” as f(n). Consider f(n) =
: O(log(n!)). Does f(n) = O(n log(n))? Does f(n) = ω(1)? Ω(1)?
: 2. What is the difference between a map, a vector, and an array. Name a
: situation for which each is uniquely well-suited.
: 多谢多谢!

avatar
a*s
5
我amazon payment了1000都给了

【在 j****c 的大作中提到】
: statement出来了,两笔小额的消费给了 5%,一笔大额的没给,靠
avatar
A*D
6
正常价格把
avatar
P*l
7
第一题yes
第二题map跟后面那两没啥关系吧。区别是没顺序?
vector跟array有啥区别不知道。是不是应该跟不同语言/库的实现有关啊

(n) can be
n) =

【在 S*********n 的大作中提到】
: 1. Recall Big O notation. A function is equal to O(g(n)) if its runtime, f(n) can be
: bounded by g(n). That is, g(n) is “at least as bad” as f(n). Consider f(n) =
: O(log(n!)). Does f(n) = O(n log(n))? Does f(n) = ω(1)? Ω(1)?
: 2. What is the difference between a map, a vector, and an array. Name a
: situation for which each is uniquely well-suited.
: 多谢多谢!

avatar
s*g
8
说耍赖之前先说一下大额的是在哪里消费的啥。。
avatar
a*n
9
not bad

【在 m**********w 的大作中提到】
: 150升级,加税200。
avatar
c*p
10
个人观点:
map应该区别在支持多关键字查询。
比方说有这么个class
{
string name;
int gender;
int age;
....
} person;
如果用vector/array的话按名字查某个人只能用index/iterator来挨个看person.name。
map可以把name做成key,按名字查找方便很多。——看起来map更适合数据库方面的应用

以C++ STL,vector应该是array的超集:
共同点:两者都支持随机存储(random indexed access)
不同点:vector支持O(1)代价的元素的增删,array仅能“有限”地支持删。
因此,vector的实现代价也毫无疑问地比array大。
vector更适用于需要频繁变换数据集大小的场合,
array更适用于数据集大小固定,并且资源/性能要求严格的场合(或者没有C++ STL支持
的场合,比如说OS kernal/嵌入式?)。

【在 P**l 的大作中提到】
: 第一题yes
: 第二题map跟后面那两没啥关系吧。区别是没顺序?
: vector跟array有啥区别不知道。是不是应该跟不同语言/库的实现有关啊
:
: (n) can be
: n) =

avatar
j*c
11
http://www.stuartweitzman.com
上买的鞋子

【在 s**********g 的大作中提到】
: 说耍赖之前先说一下大额的是在哪里消费的啥。。
avatar
c*p
12
第二题做个类似于accumulative sum的数组就可以了吧。。
S[n] = x0 + x1 + ... + xn
建S[n]是O(n),而且是一遍lookup。
Cb(t) = S[t] - S[t-2];
Ca(t)应该类似。

for
and then the least significant digits. For example, {254, 257, 322} →{322,
254, 257}→{322, 257, 254}. What is the complexity of radix sort? In what
settings would radix sort be

【在 S*********n 的大作中提到】
: 1. Recall Big O notation. A function is equal to O(g(n)) if its runtime, f(n) can be
: bounded by g(n). That is, g(n) is “at least as bad” as f(n). Consider f(n) =
: O(log(n!)). Does f(n) = O(n log(n))? Does f(n) = ω(1)? Ω(1)?
: 2. What is the difference between a map, a vector, and an array. Name a
: situation for which each is uniquely well-suited.
: 多谢多谢!

avatar
B*y
13
哇,这个美女。。。的鞋子真漂亮。。。难怪Discover要赖帐了。。。

【在 j****c 的大作中提到】
: http://www.stuartweitzman.com
: 上买的鞋子

avatar
j*r
14
vector和array区别可以回答数据类型吧。
vector可以装对象,大小动态可调,array只能装基本数据类型,大小固定。
avatar
c*p
16
array也可以装指向struct的指针

【在 j*******r 的大作中提到】
: vector和array区别可以回答数据类型吧。
: vector可以装对象,大小动态可调,array只能装基本数据类型,大小固定。

avatar
b*i
17
我的5%给了100多,不是cap只有75么,discover真有点乱
avatar
g*e
18
你把作业题拿上来问,合适吗?

for
and then the least significant digits. For example, {254, 257, 322} →{322,
254, 257}→{322, 257, 254}. What is the complexity of radix sort? In what
settings would radix sort be

【在 S*********n 的大作中提到】
: 1. Recall Big O notation. A function is equal to O(g(n)) if its runtime, f(n) can be
: bounded by g(n). That is, g(n) is “at least as bad” as f(n). Consider f(n) =
: O(log(n!)). Does f(n) = O(n log(n))? Does f(n) = ω(1)? Ω(1)?
: 2. What is the difference between a map, a vector, and an array. Name a
: situation for which each is uniquely well-suited.
: 多谢多谢!

avatar
a*9
19
可能是你9月底的上季度部分5%消费没算到上个statement上,而算到这个月的
statement上了。

【在 b******i 的大作中提到】
: 我的5%给了100多,不是cap只有75么,discover真有点乱
avatar
m*2
20
re:
Undergraduate Algorithm class 的作业。
妈的

→{322,

【在 g**e 的大作中提到】
: 你把作业题拿上来问,合适吗?
:
: for
: and then the least significant digits. For example, {254, 257, 322} →{322,
: 254, 257}→{322, 257, 254}. What is the complexity of radix sort? In what
: settings would radix sort be

avatar
s*6
21
From one Discover online CSR:
All online purchases, including Airline tickets (Booking fees do not count.
It would have to be for a flight, not a fee), discount stores, and purchases
paid via PayPal, qualify for the 4th Quarter 5% CashBackBonus Holiday
Shopping Program. Discount stores such as Walmart, Kmart, Target, Sam's Club
, etc. are NOT eligible if the customer goes to the store; however, they are
eligible if the customer makes an Online purchase. Paying bills online e.g.
utility, tuition do NOT qualify even though they are made online. The
transaction must be a purchase. If the merchant name does not appear as xx.
com on the statement review the details must either be noted as "electronic
commerce" or reference the URL for the online merchant.
avatar
j*r
22
内存中struct XXX * 和 void * 没区别。。。

【在 c****p 的大作中提到】
: array也可以装指向struct的指针
avatar
E*1
23
我一笔1000多的消费也没算,online chat了下,客服说给我修正了,下期账单post。
avatar
S*n
24
都没学过。。不是CS的
谢谢各位
avatar
c*8
25
这300多的鞋子屌丝肯定买不起。楼主白富美也就没必要在乎这点钱啦~
avatar
f*0
26
这个月的5%里面包括了5%和10月6号的2%,你仔细看看能找到

【在 b******i 的大作中提到】
: 我的5%给了100多,不是cap只有75么,discover真有点乱
avatar
z*5
27
先不要着急,点看transaction看看,online order有可能是manually keyed in,这种
情况就得怪商家,不能怪discover
avatar
j*c
28
联系了discover,答应下个statement里补上

【在 z*********5 的大作中提到】
: 先不要着急,点看transaction看看,online order有可能是manually keyed in,这种
: 情况就得怪商家,不能怪discover

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。