front-end-interview-handbook/contents/companies/bytedance-tiktok-front-end-...

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

User interface coding questions

Quiz questions

  • Difference between localStorage and cookies.

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