this question is nice# JobHunting - 待字闺中
H*M
1 楼
职业杯上拷来的
觉得不错。不是那么难,但是也很巧妙。
given a file with heirarchial input like below.. create xml representation..
a.b.c=1
a.b.d=4
a.e=6
input can be assumed to be sorted and is heirarchial in nature.
output should look like
1 4 6
asked general algorithm and approach.
觉得不错。不是那么难,但是也很巧妙。
given a file with heirarchial input like below.. create xml representation..
a.b.c=1
a.b.d=4
a.e=6
input can be assumed to be sorted and is heirarchial in nature.
output should look like
asked general algorithm and approach.