YourAlly

IBM SDE-3 coding interview questions

These are the 6 coding questions YourAlly has tagged for IBM at SDE-3. SDE-3 is the common India title for this level. YourAlly treats it as Senior, the same level as Google L5, 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 IBM SDE-3 coding loopPractice IBM coding questions

Decode a Packed Decimal FieldFree to read

Mainframe records often store numbers as packed decimal: every hex digit is one decimal digit, and the last hex digit is the sign (C or F positive, D negative). Given the field as a hex string and the number of implied decimal places, return the value as a decimal string, or "INVALID" if the field is malformed.

Input: hex_str = "12345C", scale = 2 Output: "123.45"

What a strong answer covers

  • Validates even length, digit nibbles and sign nibble
  • Avoids float or fixed-width integer overflow
  • Correct scale padding and split
  • Negative zero printed without a minus
  • Case-insensitive input

5 more coding questions

  1. Count Wildcard Topic Subscription Matches Locked
  2. Find the First Deadlock in a Lock Trace Locked
  3. Minutes Below Zone Quorum Locked
  4. Order Operator Installs by Dependency Locked
  5. Simulate Batch Initiators With Dependencies Locked

Sign up free to practice all 6

Related pages

More IBM SDE-3 rounds

IBM coding at other levels

Other companies at this level