前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
# 字节舞/titok 前端面试问题 > 原文:[https://www . frontendinterviewhandbook . com/companies/字节跳动-tiktok-前端-面试-问题/](https://www.frontendinterviewhandbook.com/companies/bytedance-tiktok-front-end-interview-questions/) <header> 字节跳动/抖音的前端采访在采访形式方面相当平衡。 ## JavaScript[](#javascript "Direct link to heading") * 执行`Promise.all`。 * [大前端练习题](https://www.greatfrontend.com/questions/javascript/promise-all) * 实现一个扩展`Array.prototype`的函数。 * [大前端练习题](https://www.greatfrontend.com/questions/coding) ## 用户界面编码[](#user-interface-coding "Direct link to heading") * 实现一个下拉组件。 ## 琐事[](#trivia "Direct link to heading") * `localStorage`和饼干的区别。 ## 算法[](#algorithm "Direct link to heading") * 合并两个排序的整数数组,删除重复项。 * 你有一个网页上的图像,写 css 和 js,以便当鼠标在图像上时,它旋转 180 度,1 秒钟的动画。 * 给定一列点,找出其中任意四个点是否构成正方形。如果可能,返回“真”,否则返回“假”。 * 例子:`[[0, 0], [2, 0], [1, 1], [0, -1], [-1, -1], [0, 2], [0, 1], [1,0]]`->-T1】 * 检查字符串中的平衡括号。 * 给定两个节点,返回这两个节点之间的树的部分。 * 在陆地和海洋的网格中找到这些岛屿。 *来源: [Glassdoor 字节跳动前端开发者面试问题](https://www.glassdoor.sg/Interview/ByteDance-Front-End-Developer-Interview-Questions-EI_IE1624196.0,9_KO10,29.htm)* </header>