YourAlly

Google SDE-3 coding interview questions

These are the 14 coding questions YourAlly has tagged for Google at SDE-3. SDE-3 is the common India title for this level. Google calls it L5, Senior Software Engineer. YourAlly treats it as Senior, the same level as Meta E5 and Amazon L6.

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 the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.

Practice a mock Google SDE-3 coding loopPractice Google coding questions

Group AnagramsFree to read

Given an array of strings strs, group the anagrams together. You can return the answer in any order.

Example 1: Input: strs = ["eat","tea","tan","ate","nat","bat"] Output: [["eat","tea","ate"],["tan","nat"],["bat"]]

Example 2: Input: strs = [""] Output: [[""]]

Constraints: 1 <= strs.length <= 20000 0 <= strs[i].length <= 100 strs[i] consists of lowercase English letters

13 more coding questions

  1. Binary Tree Level Order Traversal Locked
  2. Invert Binary Tree Locked
  3. Longest Substring Without Repeating Characters Locked
  4. Median of Two Sorted Arrays Locked
  5. Merge Two Sorted Lists Locked
  6. Serialize and Deserialize Binary Tree Locked
  7. Top K Frequent Elements Locked
  8. Trapping Rain Water Locked
  9. Two Sum Locked
  10. Valid Anagram Locked
  11. Word Ladder Locked
  12. Check if Palindrome Locked
  13. Contains Duplicate Locked

Sign up free to practice all 14

Related pages

More Google SDE-3 rounds

Google coding at other levels

Other companies at this level

Company guide

Google interview guide in Academy