TikTok Full Stack Frontend Interview Experience

The discussion focused on the music software full stack on the West Coast and work experience. Then, they started to work on a web version of the 2048 game. They provided a pre-written example where users can merge by pressing direction keys and randomly spawn a number. In the sandbox, backend functions were provided:

  1. tiltDown = ({ spaces, size }) where spaces is a 2D array
  2. tiltRight
  3. tiltUp
  4. tiltDown
  5. export const spawnNum = ({ spaces, size })
  6. export const tilt = ‍‌‌‌‌‌‌‍‌‌‌‍‍‍‍‍‌‌‍‌‌(board, dir) => { switch (dir)

You are required to write the frontend (in any language) for an nxn grid (e.g., 4x4) to implement various game operations. No need to pay for advice, just check out interview experiences. Good luck to everyone on landing a job soon! :slight_smile: