LeetCode Question · Sep 2022 · Washington DC

TikTok || OA (2 Questions) ( 🥵 Hard )

28 upvotes 6,694 views 9 replies

Question Details

First Question 2nd Question UPDATE First question is solved and i tried out second question and this is my code it passes 50% test cases and giving wrong answer in other 50%. idea :...

Full Details

🔒

Unlock all ByteDance questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a bytedance interview for a swe role during the oa round reported in 2022.

It covers the following topics: Graph, Sliding Window, Concurrency, Queue, Matrix, Two Pointers, Stack .

Difficulty rating: Hard