恒生笔试
题目还是很简单的。
题型如下:
1. 10个不定向选择,主要考察操作系统、计网、算法思想、编程思想等
2. 5个不定向选择,考察Java语法
3. 3道SQL题,都很简单,只是有点考验阅读理解
4. 2道算法题,第一题水仙花数,第二题买卖股票,求最大收益
算法题在力扣应该可以找到吧,我就不贴我的代码了,我这里贴一下SQL代码吧:
SQL第一题:
```sql
select b.cust_id, b.order_date
from OrderItems a, Orders b
where a.prod_id = "BR01" and a.order_num = b.order_num
order by b.order_date;
```
SQL第二题:
```sql
select b.cust_name, a.order_num, c.item_price * c.quantity OrderTotal
from Orders a, Customers b, OrderItems c
where b.cust_id = a.cust_id and a.order_num = c.order_num
order by b.cust_name, a.cust_id;
```
SQL第三题:
```sql
select b.cust_name, a.order_num
from Orders a, Customers b
where b.cust_id = a.cust_id
order by b.cust_name, a.order_num;
```
#软件开发2023笔面经#
题型如下:
1. 10个不定向选择,主要考察操作系统、计网、算法思想、编程思想等
2. 5个不定向选择,考察Java语法
3. 3道SQL题,都很简单,只是有点考验阅读理解
4. 2道算法题,第一题水仙花数,第二题买卖股票,求最大收益
算法题在力扣应该可以找到吧,我就不贴我的代码了,我这里贴一下SQL代码吧:
SQL第一题:
```sql
select b.cust_id, b.order_date
from OrderItems a, Orders b
where a.prod_id = "BR01" and a.order_num = b.order_num
order by b.order_date;
```
SQL第二题:
```sql
select b.cust_name, a.order_num, c.item_price * c.quantity OrderTotal
from Orders a, Customers b, OrderItems c
where b.cust_id = a.cust_id and a.order_num = c.order_num
order by b.cust_name, a.cust_id;
```
SQL第三题:
```sql
select b.cust_name, a.order_num
from Orders a, Customers b
where b.cust_id = a.cust_id
order by b.cust_name, a.order_num;
```
#软件开发2023笔面经#
全部评论
笔试完什么时候能收到面试通知呢
时间要求长吗?
10.13恒生笔试 题型没变,sql算法都是类似根据条件得到最后的输出:输入是-个600570-天的行情快照csv格式文本, 编写读取解析
该csv文本,只处理交易时间段9301131.13.00.15.001按分钟
窗口聚合计算打印分钟内open. px.high. px,Jow. px.close. px字
段。分钟聚合计算逻辑:时间窗口[9:30,9:31),第-个快照的
last px作为这分钟K线的open. .px, 最后一个快照的ast px作为
分钟K线的clos, px,最大的ast, px作为K线的high, px,最小的
last. px作为K线的low. px。
相关推荐
11-22 14:57
太原理工大学 线下拓展运营 点赞 评论 收藏
分享
逍遥生777:你找java的后端开发,那和java无关的项目就不用写了,剩余的项目写详细点
点赞 评论 收藏
分享