m**x 发帖数: 75 | 1 [CSTR] No need to introduce this ticker.
In 2007, I was a member of the Blockbuster DVD rental service. I hated the way they charged for
rentals. Unless you have a big family or friend network to share your cost,
it makes no sense to pay ~5 bucks to keep the DVD for 5 days.
In 2008, I registered an account with Netflix(NFLX). HDDVD and BD was still
in the format war. I did not think NFLX would do so well in the near term. I
did not like the DVD mailing service so much because I feel entertainmen... 阅读全帖 |
|
g*****u 发帖数: 298 | 2 我说的就是copy cstr和dstr。TIC是thinking in C++吗?如果copy cstr不new,那么谁
应该delete呢?提供一个clear()让user调用吗?能不能讲讲不应该new的情况是怎么样
的? |
|
j******e 发帖数: 294 | 3 anyone notice the breakout in AMZN and CSTR. should get some of these also.
Tech is the real leader right now for this market
Hopefully ISRG and CREE will report good earning next week.
Long ISRG, CREE, AAPL, INFN |
|
h********r 发帖数: 668 | 4 10 call for CSTR DEC 18 2010 50.0 CALL @1.85 |
|
|
|
|
c***1 发帖数: 3281 | 8 赞完少。可是netflix顾客真的很多会转去cstr吗? |
|
g*****u 发帖数: 298 | 9 copy cstr应该new每个节点吗?如果不的话,两个链表可能共享某些节点,如果其中一
个删除另一个会出问题。为什么很多书里都没有这两个函数呢? |
|
h**v 发帖数: 2010 | 10 【 以下文字转载自 HardTimeCall 俱乐部 】
发信人: hdtv (发光二极管), 信区: HardTimeCall
标 题: CSTR,听听大家意见
发信站: BBS 未名空间站 (Fri Jul 13 11:13:36 2012, 美东)
考虑盘尾买。 |
|
P********l 发帖数: 452 | 11 How about this version using Dynamic Programming?
The basic idea is fill in a table for a matching path. If the last pair
matches, the whole string will match.
mtch is the array, which is of (string length + 1)*(pattern length + 1).
mtch[0][*] and mtch[*][0] is padded with false.
Then the function is something like:
mtch[i][j] =
1. if pattern char='.', mtch[i][j]=mtch[i-1][j-1]
2. if pattern char='*', mtch[i][j]=mtch[i-1][j-1] || mtch[i][j]=mtch[i-1][
j]
3. if pattern char=string char, mtc... 阅读全帖 |
|
p*****p 发帖数: 379 | 12 http://leetcode.com/onlinejudge#question_79
思路就是DFS,递归实现backtrack
large case超时,不知是剪枝不对还是递归费时
代码感觉没大问题
求帮忙看看,谢谢
class Solution {
public:
bool exist(vector > &board, string word) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if (word.empty()) return true;
int m = board.size();
int n = board[0].size();
for (int i = 0; i < m; ++i) {
for (int j = 0; j < n; ++j) {
if (board[i]... 阅读全帖 |
|
i**********e 发帖数: 1145 | 13 Some basic optimizations, now it passes Large in 316ms.
class Solution {
public:
bool exist(vector > &board, string word) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if (word.empty()) return true;
int m = board.size();
int n = board[0].size();
for (int i = 0; i < m; ++i) {
for (int j = 0; j < n; ++j) {
vector >visited;
if (board[i][j] != word[0... 阅读全帖 |
|
|
P********l 发帖数: 452 | 15 Fixed the issue ihasleetcode mentioned. Thanks.
Added more test cases like:
string = "ho"
pattern = "**ho", "ho**"
string = "a", pattern = "aa"
string = "aa", pattern = "a"
Code:
/**
* check if patt matches the string str. Same as {@link match} but
* one-dimension array is used.
*
* @param str
* the string to match
* @param patt
* the pattern matching str. '*' is for 0 or more characters
and
* '.' is for exactly one cha... 阅读全帖 |
|
h*****g 发帖数: 944 | 16 借Google大侠的名字发个贴
我下面的c program为何不work?
#include
#include
int main(){
const char * cstr="Hello";
int array_size=0;
while(cstr!=NULL){
printf("%c\t",*cstr);
cstr++;
}
return 0;
}
菜鸟一个,谢谢了 |
|
g****y 发帖数: 240 | 17 Edit: 好像不对,还是更复杂的情况。
想了一个O(n)的解法。请帮忙看一下对不对。
if A and B have no duplicate char: easy problem. just traverse C. increase A
's
index if A's char matches or increase B's index if B's char matches.
if A and B have duplicate chars, we assume A[i, j] == B[m, n].
when we traverse C and in the position where C[k] == A[i] == B[m], we have
two ways to go: increase A's index or increase B's index. in this kind of
situation, we will always select to increase A's index.
if we are lucky, A is the right way to ... 阅读全帖 |
|
|
M*****8 发帖数: 17722 | 19 *** NOTE: PRICE TARGETS & CALCULATIONS ARE APPROXIMATE ***
(Minimum Cash Unit is $1000. Simply multiply for large sums.)
FORECAST FOR TICKER SYMBOL: CSTR AS OF 20111208 (YYYYMMDD)
CLOSING PRICE ON 20111208 was 47.4500
STOCK RATING: BEARISH
Short-Term Price Potential is DOWN: -4.1741 (-8.80%)
Short-Term Price Target: 43.2759
At Price Target, profit is 87.9684 on $1000 investment. (+8.80%)
Close out >= half of your short position at about 43.2759
There is a small chance of price reaching 39.9... 阅读全帖 |
|
M*****8 发帖数: 17722 | 20 *** NOTE: PRICE TARGETS & CALCULATIONS ARE APPROXIMATE ***
(Minimum Cash Unit is $1000. Simply multiply for large sums.)
FORECAST FOR TICKER SYMBOL: CSTR AS OF 20111208 (YYYYMMDD)
CLOSING PRICE ON 20111208 was 47.4500
STOCK RATING: BEARISH
Short-Term Price Potential is DOWN: -4.1741 (-8.80%)
Short-Term Price Target: 43.2759
At Price Target, profit is 87.9684 on $1000 investment. (+8.80%)
Close out >= half of your short position at about 43.2759
There is a small chance of price reaching 39.9... 阅读全帖 |
|
w*********6 发帖数: 544 | 21 发信人: mikeandlily (mike), 信区: come_back_my_money
标 题: 抽空说说我炒股的基本原则
发信站: BBS 未名空间站 (Fri Mar 27 22:40:20 2015, 美东)
不一定对,仅供大家参考,我很鼓励每个人都写写自己的炒股心得策略什么的,总之希
望多一些干货。
1、图形为王。不管是短期投资还是长线投资,个人觉得图形比其他信息都重要。其实
这个和价值投资并不矛盾,试想一个基本面真如我们看到的数据那么好的股票却连续的
喋喋不休,你信么?反正我不信,图形好的股票一定是阳多阴少阳长阴短的,这样的股
票做起来是令人放心的。
2、谁笑到最后谁才笑得最好。开盘涨不算涨,收盘涨才是涨。这一点我说过很多次就
不重复了。
3、高抛低吸,先玩不要追涨,即使是知道这个股票随后会大幅度上涨,也一定要等他
短暂的回调才介入,这一点很重要,这就和我们去市场买菜讨价还价一样,购买价格越
低肯定对我们越好。
其实这些都是最基本的操作,但是真正做起来其实并不容易,我个人分析最主要的原因
就是我们的感官容易被股价的波动所感染,不能像一台机器那样工作,很多时候看不得
... 阅读全帖 |
|
w*********6 发帖数: 544 | 22 发信人: mikeandlily (mike), 信区: come_back_my_money
标 题: 抽空说说我炒股的基本原则
发信站: BBS 未名空间站 (Fri Mar 27 22:40:20 2015, 美东)
不一定对,仅供大家参考,我很鼓励每个人都写写自己的炒股心得策略什么的,总之希
望多一些干货。
1、图形为王。不管是短期投资还是长线投资,个人觉得图形比其他信息都重要。其实
这个和价值投资并不矛盾,试想一个基本面真如我们看到的数据那么好的股票却连续的
喋喋不休,你信么?反正我不信,图形好的股票一定是阳多阴少阳长阴短的,这样的股
票做起来是令人放心的。
2、谁笑到最后谁才笑得最好。开盘涨不算涨,收盘涨才是涨。这一点我说过很多次就
不重复了。
3、高抛低吸,先玩不要追涨,即使是知道这个股票随后会大幅度上涨,也一定要等他
短暂的回调才介入,这一点很重要,这就和我们去市场买菜讨价还价一样,购买价格越
低肯定对我们越好。
其实这些都是最基本的操作,但是真正做起来其实并不容易,我个人分析最主要的原因
就是我们的感官容易被股价的波动所感染,不能像一台机器那样工作,很多时候看不得
... 阅读全帖 |
|
G***o 发帖数: 5158 | 23 LOL -16.66% AH today
http://www.google.com/finance?q=NFLX#
if anyone likes DVD renters, bet on CSTR,rather than NFLX
CSTR will be the new leader in an era when more and more Americans are
bluecollarized. |
|
|
A****S 发帖数: 2066 | 25 是的,不过求问怎么贴图,我已经截了邮件的图了。内容是:
Thank you for using your American Express® Card ending in XXXXX at PAPA
JOHNS CSTR GFTCRD. You will have successfully redeemed the offer if your
purchase meets the terms of the offer.
也就是说他明知道我这个确实是从cashstar买的但还是有点数。 |
|
|
e******a 发帖数: 40 | 27 ID: edishena
long CSTR 100%
5 |
|
M****7 发帖数: 324 | 28 参赛ID: Mars27
long 50% DGIT
long 50% CSTR |
|
c******n 发帖数: 4965 | 29 前一段时间DVD 租赁它被炒过头
本来就自己往下滑,现在跟大盘,滑得更厉害
我朝30$ 烧 |
|
c********g 发帖数: 1106 | 30 赌fill the gap? 我就冲着这个去,可惜掉的太慢了。 |
|
c******n 发帖数: 4965 | 31 慢的才好
慢了是象轮胎慢撒气, 它loose momentum 很明显, 如果快了倒是swing
反正如果大盘继续掉,它一个月内掉回30$ 很容易 |
|
y***t 发帖数: 644 | 32 Then you should get coinstar(CSTR). But the winner might be NFLX. Redbox
will die too. |
|
v****e 发帖数: 19471 | 33 ORCL 7/19
AAPL 7/20
ISRG 7/21
NFLX 7/21
AMZN 7/22
MSFT 7/22
CSTR 7/29
PCLN 8/9
CSCO 8/11
HPQ 8/19 |
|
y***r 发帖数: 16594 | 34 NFLX
BIDU
HMIN
LULU
MELI
CMG
WPZ
FFIV
SAM
VIT
MED
DECK
ULTA
PRGO
VLTR
ISRG
CXO
SAN
SWKS
SLW
DGIT
JOBS
CACC
EPB
NTAP
THOR
PCLN
HAS
NEM
EZPW
NETL
SHOO
KWR
BMA
CTSH
DLTR
ROVI
CRM
APKT
ABV
CRVL
HLF
WRLD
BVN
GIL
RMD
EGO
ALTR
DLB
VQ
CRUS
TSL
SCL
LZ
WYNN
NGLS
STRI
SRCL
AZO
EL
BAP
NVO
TPX
PAY
AKAM
CSTR
VMW
JAS
AIXG
CTRP
DISCA
DTV
IAG
TSCO
BCPC
ORLY
CMI
NRGP
ASPS
PTI
UA
CISG
SVR
RVBD
HSP
EC
LSTZA
XEC
OPEN
LCAPA
SNDK
CMCSA
PNRA
FDO
EMC
XLNX
NUS
PII
MSB
HSNI |
|
w********s 发帖数: 343 | 35 coinstar这股怎样?会不会是小号的nflx? |
|
|
B********e 发帖数: 397 | 37 AMSC CCE CSTR MTW for long (ER day:Oct 28)! I got most of them (except CCE) at the bottom today. I just want to provide some candidates for your considering. Judge
them and take responsibility by yourself! |
|
|
I********n 发帖数: 1468 | 39 good, better entry than mine. I bot Nov 19 50 call @ 1.5 |
|
|
I********n 发帖数: 1468 | 41 老大也在搞这个东西, 同喜,估计赚了几十万吧? |
|
|
|
|
|
w******s 发帖数: 16209 | 46 this is good.
I seldom did this before. |
|
|
|
|
|