#字节跳动# 字节跳动校招内推码: D1MR7HW
投递链接: https://job.toutiao.com/s/JjqhPTF
内推码和链接均可投递,同时给部门打个广告:欢迎投递【互娱研发-抖音】,部门岗位仍有空缺,欢迎投递简历。
投递链接: https://job.toutiao.com/s/JjqhPTF
内推码和链接均可投递,同时给部门打个广告:欢迎投递【互娱研发-抖音】,部门岗位仍有空缺,欢迎投递简历。
全部评论
相关推荐
点赞 评论 收藏
分享
10-30 22:08
北京工业大学 Java 点赞 评论 收藏
分享
球球与墩墩:这不是前端常考的对象扁平化吗,面试官像是前端出来的
const flattern = (obj) => {
const res = {};
const dfs = (curr, path) => {
if(typeof curr === 'object' && curr !== null) {
const isArray = Array.isArray(curr);
for(let key in curr) {
const newPath = path ? isArray ? `${path}[${key}]` : `${path}.${key}` : key;
dfs(curr[key], newPath);
}
} else {
res[path] = curr
}
}
dfs(obj);
return res;
}
查看3道真题和解析 点赞 评论 收藏
分享
点赞 评论 收藏
分享

