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.
- Generate Parenthesis
- Validate Parenthesis
- Kinda like a 2 sum problem.
Find the greatest sum <= target and return that pair of indices. - 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)


