Interview Experience: TikTok Frontend New Grad

A few days ago, after applying online for 1 hour, I received the OA, batch from 1/8 to 1/10.
Just completed, fresh FE, University Graduate 2022 Start OA questions!! Seeking feedback.

  1. Circular Printer

  2. Star | Bar
    Given a string such as “|**||”, “||*|”, and a set of start + end points, output the * enclosed within two | within the range from start to end.
    The solution is similar to Lico-Wu Ling’s.

  3. Fill 1x2x1 dominoes in a 2x2xn space, input n, output the number of filling methods.

, the base domino in the question is more like the three-dimensional version of the latter. The filling method is to fill layer by layer upwards.

Estimated solution involves finding patterns and using dp processing… The 3D space is a bit abstract, didn’t have time to study it, couldn’t solve it.
4. Roman name sorting

Convert Roman numerals to decimal (roman to integer) + custom sorting, sorting priority: name > number
5. Super stack
Lico Easy Umbrella Yi