Redian新闻
>
cit卡的credit line increase request是hard pull吗?
avatar
cit卡的credit line increase request是hard pull吗?# Money - 海外理财
w*h
1

谈project;
coding:
输入:
("apple", "banana") = "1"
("apple", "cook", "dog") = "2"
("apple", "cook", "eat") = "3"
("apple", "fruit") = "4"
输出:
"1234fruit>"
问问题
avatar
i*i
2
网站上这话模棱两可的,跟没说一样:
“In order to complete your request, we may check your credit bureau history
or use credit information we already have on file. Additionally,
cardmembers who have had their Citi® issued credit card account for
less than 6 months are not eligible for a credit line increase.”
avatar
q*x
3
输入和输出的关系?

【在 w**h 的大作中提到】
: 白
: 谈project;
: coding:
: 输入:
: ("apple", "banana") = "1"
: ("apple", "cook", "dog") = "2"
: ("apple", "cook", "eat") = "3"
: ("apple", "fruit") = "4"
: 输出:
: "1234
avatar
s*n
5
用一个List存放当前Open的XML tag。
每来一个数组,假设0~i匹配List的0~i,首先要关闭List里面i后面的所有tag,然后再
Push新来数组的i后面的所有Tag到List后面
所有数组跑完后再关闭List上所有的Tag
List temp;
String [][]input;
for (int i=0; iString[] sentence = input[i];
int cursor;
for (cursor=0; cursor+) {
if (!sentence[cursor].equals(temp[cursor]) break;
}
int closeTags = 0;
for (int j=temp.length()-1; j>=cursor; --j) {
printf("");
closeTags++;
}
temp.removeLastElements(closeTags);
for (int j=cursor; jif (j==sentence.length-1)
printf(sentence[j]);
else {
printf("");
temp.append(sentence[j]);
}
}
}
for (int j=temp.length()-1; j>=cursor; --j) {
printf("");
}
avatar
d*j
6
说的很清楚啊,就是说你点了我们就有权pull你,别抱怨。

history

【在 i***i 的大作中提到】
: 网站上这话模棱两可的,跟没说一样:
: “In order to complete your request, we may check your credit bureau history
: or use credit information we already have on file. Additionally,
: cardmembers who have had their Citi® issued credit card account for
: less than 6 months are not eligible for a credit line increase.”

avatar
s*n
7
最后3行写错了,应该是
for (int j=temp.length()-1; j>=0; --j) {
printf("");
}
avatar
V*s
8
奇怪,上面说6个月内新户不能提额度。我是第一张CITI卡,才3个月,就提额度成功了
avatar
p*2
9
把输入组成一个tree,然后pre-order打印就可以了。
avatar
g*i
10
感觉应该是这个,类似一个deque的数据结构就可以了,建tree可能空间上太浪费

cursor+

【在 s******n 的大作中提到】
: 用一个List存放当前Open的XML tag。
: 每来一个数组,假设0~i匹配List的0~i,首先要关闭List里面i后面的所有tag,然后再
: Push新来数组的i后面的所有Tag到List后面
: 所有数组跑完后再关闭List上所有的Tag
: List temp;
: String [][]input;
: for (int i=0; i: String[] sentence = input[i];
: int cursor;
: for (cursor=0; cursor
avatar
s*n
11
建一个tree
然后用递归呢?
def printMyXML(node):
res = ''
for each in node.childList():
if each.isLeaf():
res = res + node.value + ''
else:
res = res + printMyXML(each)
res = res + ''
return res
avatar
m*q
12
tree的思路不错啊
不过直接preorder应该不行吧,应该得加些逻辑才能处理

【在 p*****2 的大作中提到】
: 把输入组成一个tree,然后pre-order打印就可以了。
avatar
p*2
13

是要加些逻辑。不过不麻烦。

【在 m**q 的大作中提到】
: tree的思路不错啊
: 不过直接preorder应该不行吧,应该得加些逻辑才能处理

avatar
s*n
14
Tree耗空间,用一个长度相当于Tree Height的数组就行了,而且只要一次扫描,tree
要2次,第一次建立tree,第二次遍历,不论时间还是空间都差。

【在 p*****2 的大作中提到】
:
: 是要加些逻辑。不过不麻烦。

avatar
p*2
15

tree
唉。我也就这水平了。一会儿有心情了好好看看你的算法。

【在 s******n 的大作中提到】
: Tree耗空间,用一个长度相当于Tree Height的数组就行了,而且只要一次扫描,tree
: 要2次,第一次建立tree,第二次遍历,不论时间还是空间都差。

avatar
n*w
16
试了试栈就够了。
avatar
l*n
17
How about
("apple", "banana") = "1"
("apple", "cook", "dog") = "2"
("apple", "fruit") = "4"
("apple", "cook", "eat") = "3"
shoue 输出 be"
"1234fruit>"
or:
"124<
eat>3
"
If the requirement is the first output, tree would be good. But the solution
involves too much code for a phone interview. For later, a stack should be
good.

【在 w**h 的大作中提到】
: 白
: 谈project;
: coding:
: 输入:
: ("apple", "banana") = "1"
: ("apple", "cook", "dog") = "2"
: ("apple", "cook", "eat") = "3"
: ("apple", "fruit") = "4"
: 输出:
: "1234
avatar
l*n
18
How about
("apple", "banana") = "1"
("apple", "cook", "dog") = "2"
("apple", "fruit") = "4"
("apple", "cook", "eat") = "3"
shoue 输出 be"
"1234fruit>"
or:
"124<
eat>3
"
If the requirement is the first output, tree would be good. But the solution
involves too much code for a phone interview. For later, a stack should be
good.

【在 w**h 的大作中提到】
: 白
: 谈project;
: coding:
: 输入:
: ("apple", "banana") = "1"
: ("apple", "cook", "dog") = "2"
: ("apple", "cook", "eat") = "3"
: ("apple", "fruit") = "4"
: 输出:
: "1234
avatar
a*a
19
如果是第一种要求的话,能说说这个tree具体该怎么建呢?

If the requirement is the first output, tree would be good.

【在 l*****n 的大作中提到】
: How about
: ("apple", "banana") = "1"
: ("apple", "cook", "dog") = "2"
: ("apple", "fruit") = "4"
: ("apple", "cook", "eat") = "3"
: shoue 输出 be"
: "1234: fruit>"
: or:
: "124<

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