Community

Discussion Board

Anonymous interview experiences, offers and career talk from frontend engineers.

8nKaJIJ

Google Frontend Interview Questions

#google
08860

First question: can only select from the front or back a total of k elements, find the minimum result, Example: K = 3, the minimum result is 3, 2, 4. Second question: Given weights, such as (0.3, 1, 4), return the minimum result. 3, 2, 4 → 3 * 0.3 + 2 * 1 + 4 * 4 3, 2, 5 → 3 * 0.3 + 2 * 1 + 5 * 4 3, 1, 5 → 3 * 0.3 + 1…

Premium

Keep reading with Premium

You've read your 2 free interview experiences. Go premium to read this, plus every interview experience and premium question on FrontendLead.

  • All premium solutions
  • System design deep dives
  • Company-specific prep

4.9/5 from our users

Already premium? Log in