2.2 KiB
2.2 KiB
| title | sidebar_label |
|---|---|
| ByteDance/TikTok Front End Interview Questions | ByteDance/TikTok interview questions |
:::info Latest version on GreatFrontEnd
Find the latest version of this page on GreatFrontEnd's ByteDance Front End Interview Guide.
:::
ByteDance/TikTok's front end interview is quite balanced in terms of interview format.
JavaScript coding questions
- Implement
Promise.all.- Practice question (Free)
- Implement a function which extends
Array.prototype.
User interface coding questions
- Implement a dropdown component.
- Read answer (Paid)
Quiz questions
- Difference between
localStorageand cookies.- Read answer (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
- Examples:
- 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