Activision Coding Interview Questions
25 Activision coding interview problems with full optimal solutions — 15 easy, 7 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Activision interviewer values, and a FAQ section.
Showing 7 problems of 25
- #16mediumfoundational
16. Binary Tree Level Order Traversal
Return the values of a binary tree by level — Activision uses this to gauge BFS fluency before matchmaking bracket-tier traversal problems.
- #17mediumfoundational
17. LRU Cache
Design a cache with O(1) get and put that evicts least-recently-used entries — Activision uses this to gauge hashmap-plus-doubly-linked-list design before leaderboard hot-cache questions.
- #18mediumfoundational
18. Number of Islands
Count connected land regions in a 2D grid — Activision uses this to gauge BFS/DFS flood-fill instincts before anti-cheat cluster-detection problems.
- #19mediumfoundational
19. Course Schedule
Decide if a set of courses with prerequisites is schedulable — Activision uses this to gauge cycle-detection in directed graphs before chat-moderation dependency-chain questions.
- #20mediumfoundational
20. Implement Trie (Prefix Tree)
Build a trie supporting insert, search, and startsWith — Activision uses this to gauge prefix-tree fluency before chat-moderation banned-word lookup questions.
- #21mediumfoundational
21. Kth Largest Element in an Array
Return the kth largest element without sorting the entire array — Activision uses this to gauge heap fluency before leaderboard top-K read questions.
- #22mediumfoundational
22. Top K Frequent Elements
Return the k most frequent elements — Activision uses this to gauge bucket-sort and heap reasoning before chat-moderation top-offender ranking questions.