Panda Guru LogoPanda
Guru

Tiktok Singapore - Senior Frontend - R1

Round 1

Questions:

  1. Q1: LC 784 Letter Case Permutation

    Specific question not provided.

  2. Q2: React based coding.

    Input was given as a nested file tree object. Write the React component to render the file tree with follow-up of how would I handle toggle functionality for folders.

    const fileTree = { id: 1, name: "root", children: [ { name: "index.js", id: 2 }, { name: "styles.css", id: 3 } ] };
Candidate's Approach
  • For Q1, the candidate struggled with the JavaScript API to check if a character is an alphabet letter or a digit, which impacted the interviewer's perception. However, they provided a working solution using an object that maps lowercase letters to uppercase letters.
  • For Q2, the candidate claims to have written the "perfect" code to render the file tree and handle toggle functionality in under 10 minutes.
Interviewer's Feedback

No feedback provided.