Google L7 coding interview questions
These are the 14 coding questions YourAlly has tagged for Google at L7. Google L7 is Senior Staff Software Engineer. YourAlly treats it as Senior staff, the same level as Meta E7 and Amazon L8.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level coding is often a smaller part of the loop, but the bar for clarity and speed stays high.
Practice a mock Google L7 coding loopPractice Google coding questions
Median of Two Sorted ArraysFree to read
Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run-time complexity should be O(log (m+n)). Example 1: Input: nums1 = [1,3], nums2 = [2] Output: 2.0 Example 2: Input: nums1 = [1,2], nums2 = [3,4] Output: 2.5 Constraints: nums1.length >= 0, nums2.length >= 0, 0 < m + n <= 2 * 10^5
13 more coding questions
- Binary Tree Level Order Traversal Locked
- Group Anagrams Locked
- Invert Binary Tree Locked
- Longest Substring Without Repeating Characters Locked
- Merge Two Sorted Lists Locked
- Serialize and Deserialize Binary Tree Locked
- Top K Frequent Elements Locked
- Trapping Rain Water Locked
- Two Sum Locked
- Valid Anagram Locked
- Word Ladder Locked
- Check if Palindrome Locked
- Contains Duplicate Locked
Related pages
More Google L7 rounds
- System design 16 questions
- Behavioral 36 questions
- Project retrospective 14 questions
Google coding at other levels
Other companies at this level
- Adobe Senior staff 4 questions
- Airbnb Senior staff 4 questions
- Amazon L8 6 questions
- Anthropic Senior staff 5 questions
- Apple Senior staff 7 questions
- Cisco Senior staff 3 questions