ByteDance 2021 Grad OA (eHR SWE)
Anonymous User
1223

I wrote the test for ByteDance SWE eHR team(enterprise services) today. OA consisted of 4 questions to be solved in 120 minutes.
Didn't find any OAs on LC before, so posting my experience. Here are the questions.

  1. Generate Parenthesis
  2. Validate Parenthesis
  3. Kinda like a 2 sum problem.
    Find the greatest sum <= target and return that pair of indices.
  4. Min cost to connect ropes but only the adjacent ropes must be combined.
    Solved it using DP

Solved all 4 questions in < 40 minutes. Don't know if I can make it to the next rounds. Because it's said that they take the top X-ish people who wrote the test and they also consider profile, resume etc..

Good luck everyone~

Comments (3)