Twitter Coding Interview Questions: 2 Tagged Problems

2 coding problems tagged Twitter — 1 medium · 1 hard — with solutions in 13 languages. Plus a study plan by topic.

  • Problems: 2
  • By difficulty: 1 medium · 1 hard
  • Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
  • Cost: Free on every plan; sign in to run and submit

2 problems the CodeKairo catalogue tags as commonly asked in Twitter's coding rounds — 1 medium and 1 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (1), Strings (1) and Hash Table (1). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Twitter, which CodeKairo is not affiliated with.

Twitter study plan by topic

All 2 problems tagged Twitter, about 1 h 25 min of solving, grouped by technique in the order they build on each other — Greedy and Heap.

The plan

2 problems on Greedy and Heap, easiest first within each topic.

All problems tagged Twitter

Medium (1)

Hard (1)

Topics Twitter asks most