卓望一面 两个面试官轮流拷打

秋招oc拒了,春招再投一遍,让我来帮大家看看怎么个事

两个面试官

- Java八股
- 实习
- 消息队列 更偏向kafka
- aop实现方式
- 设计模式
- 代理模式实际如何使用的
- 设计原则,实际项目有用到过那些

反问
部门具体业务需要入职后才确定

PS: 感觉挺重设计模式的,当时秋招也是这样

如果对你有用的话,求个花花
全部评论
因为面试官只会这个
1 回复 分享
发布于 2025-03-21 08:37 广东
大佬,请问你通过了吗,我刚面完,感觉问的都是我没见过的
点赞 回复 分享
发布于 2025-03-25 16:38 湖北
uu,我也面了这个,面试官老是问一些稀奇古怪的问题
点赞 回复 分享
发布于 2025-03-21 15:13 山东
uu什么时候做的笔试,我周二做完的笔试现在没消息了
点赞 回复 分享
发布于 2025-03-13 16:13 山东

相关推荐

(码风很屎别在意~)1.很简单直接都是一个数字就行#include <bits/stdc++.h>using namespace std;#define endl '\n';void solve() {int n;cin >> n;vector<int> v(n + 1);for(int i = 1; i <= n; i++) {cin >> v[i];cout << (n + 1) - v[i] << " \n"[i == n];}}int main() {ios::sync_with_stdio(0);cin.tie(0),cout.tie(0);int t;cin >> t;while(t--) {solve();}}2.只用算平方就行了,直接暴力。如下#include <bits/stdc++.h>using namespace std;#define endl '\n';bool cal(int x) {int tot = 0;for(int i = 1; i * i <= x; i++) {if(x / i * i == x)tot += 2;}if(tot % 2)return false;else return true;}void solve() {int l, r;cin >> l >> r;int lmin = sqrt(l);int ans = 0;lmin = lmin * lmin == l ? lmin : lmin + 1;if(lmin == 1)ans++, lmin++;for(int i = lmin; i * i <= r; i++) {if(cal(i * i))ans++;}cout << ans;}int main() {ios::sync_with_stdio(0);cin.tie(0),cout.tie(0);int t;t = 1;while(t--) {solve();}}3.稍微推一下公式就行,题解如下#include <bits/stdc++.h>using namespace std;#define endl '\n';#define int long longint mod = 1e9 + 7;const int N = 1e6 + 10;int a[N];void solve() {int k, q;cin >> k >> q;for(int i = 1; i <= k; i++) {a[i] = 1;}a[k + 1] = k ;int tot = k;for(int i = k + 2; i <= 1000000; i++) {tot = ((tot + a[i - 1])  - a[i - k - 1]);a[i] = tot % mod;}while(q--) {int x;cin >> x;cout << a[x] % mod << endl;}}signed main() {ios::sync_with_stdio(0);cin.tie(0),cout.tie(0);int t;t = 1;while(t--) {solve();}}
一起聊美团
点赞 评论 收藏
分享
评论
1
12
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务