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
- Count Wildcard Topic Subscription Matches Locked
- Find the First Deadlock in a Lock Trace Locked
- Minutes Below Zone Quorum Locked
- Order Operator Installs by Dependency Locked
- Simulate Batch Initiators With Dependencies Locked
Related pages
More IBM SDE-3 rounds
- System design 4 questions
- Behavioral 5 questions
IBM coding at other levels
- Principal 3 questions
- Senior Principal 3 questions
Other companies at this level
- Adobe SDE-3 7 questions
- Amazon SDE-3 10 questions
- Apple SDE-3 7 questions
- Cisco SDE-3 6 questions
- Google SDE-3 14 questions
- Intel SDE-3 6 questions