恒生电子秋招
刚被挂就遇上个这么公司真是我的福气,做到编程题,说是给你一个csv文件,然后你根据文件里的记录去读取数据,分析数据,数据的属性有12种,有时间戳,last_*?(记不清了),等等,你需要把时间戳在每一分钟内的记录集合起来,找出这些记录中最大的last_*,最小的last_*,在这一分钟内开头的记录的last_*,在这一分钟内结尾的记录的last_*,以及其他的三个字段,这三个字段需要用该分钟内最后一个记录所对应的值去求差,最后把这些数据打印出来。为了读懂他在干什么,我浪费了宝贵的一小时,真正的题目描述更加阴间,像是输入题目描述的员工喝醉酒之后的产物,甚至备注里面还写着公司布置的任务,更让人啧啧称奇的是,它的参数解释和样例呈现出惊人的统一性,就是没有任何参数解释,直接把样例糊上去,不想招人大可直接拒我,能不能别在这里恶心人?
全部评论
finance_mic,prod_code,trade_date,data_timestamp,preclose_px,open_px,last_px,high_px,low_px,close_px,business_count,business_amount,business_balance
XSHG,600570,20230703,93000000,33.33,33.05,33.05,33.05,33.05,0,83,28290,934984.5
XSHG,600570,20230703,93003000,33.33,33.05,33.03,33.26,33.02,0,118,45790,1513753.5
XSHG,600570,20230703,93006000,33.33,33.05,33.05,33.26,33.02,0,145,59490,1966943.5
XSHG,600570,20230703,93009000,33.33,33.05,33.26,33.26,33.02,0,170,77790,2573515.12
XSHG,600570,20230703,93012000,33.33,33.05,33.26,33.3,33.02,0,204,87951,2911107.92
XSHG,600570,20230703,93015000,33.33,33.05,33.3,33.31,33.02,0,227,94481,3128348.38
哈哈哈哈哈等会儿去群里骂它
相关推荐