--- title: ByteDance/TikTok Front End Interview Questions sidebar_label: ByteDance/TikTok interview questions --- :::info Latest version on GreatFrontEnd Find the latest version of this page on [GreatFrontEnd's ByteDance Front End Interview Guide](https://www.greatfrontend.com/interviews/company/bytedance/questions-guides?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook). ::: ByteDance/TikTok's front end interview is quite balanced in terms of interview format. ## JavaScript coding questions - Implement `Promise.all`. - [Practice question](https://www.greatfrontend.com/questions/javascript/promise-all?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) (Free) - Implement a function which extends `Array.prototype`. - [Practice questions](https://www.greatfrontend.com/questions?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) ## User interface coding questions - Implement a dropdown component. - [Read answer](https://www.greatfrontend.com/questions/system-design/dropdown-menu?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) (Paid) ## Quiz questions - Difference between `localStorage` and cookies. - [Read answer](https://www.greatfrontend.com/questions/quiz/describe-the-difference-between-a-cookie-sessionstorage-and-localstorage?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) (Free) ## Algorithm - Merge two sorted integer arrays, remove duplicates. - You have an image on a page, write css and js so that when mouse is over the image, it rotates 180 deg with 1 sec animation. - Given a list of points, find out if any four of them form a square. Return 'true' if possible, else 'false'. - Examples: `[[0, 0], [2, 0], [1, 1], [0, -1], [-1, -1], [0, 2], [0, 1], [1,0]]` -> `true` - Check for balanced brackets in a string. - Given two nodes, return the section of the tree between these two nodes. - Find the islands in a grid of land and sea. _Source: [Glassdoor ByteDance Front End Developer Interview Questions](https://www.glassdoor.sg/Interview/ByteDance-Front-End-Developer-Interview-Questions-EI_IE1624196.0,9_KO10,29.htm)_