Apply Strategy pattern for multiple payment methods — TCS interview
Reported in TCS interview loops. OOD pattern question focused on replacing condition-heavy logic.
Interview atlas
Explore 27 curated Q&As across 1 employers — filter by career stage, round, or company.
Filtered TCS ×
Reported in TCS interview loops. OOD pattern question focused on replacing condition-heavy logic.
Reported in TCS interview loops. Design pattern comparison frequently asked in OOD interviews.
Reported in TCS interview loops. Classic array + hash map problem testing optimal time–space trade-offs.
Reported in TCS interview loops. Foundational search algorithm with clear loop invariants and edge cases.
Reported in TCS interview loops. Pointer manipulation staple for junior coding interviews.
Reported in TCS interview loops. Graph traversal question covering shortest paths, connectivity, and complexity.
Reported in TCS interview loops. Tree recursion warm-up that often leads to balanced-tree and diameter follow-ups.
Reported in TCS interview loops. Sliding window pattern for substring problems with hash set or map tracking.
Reported in TCS interview loops. Sort-and-sweep array problem common in calendar and scheduling interviews.
Reported in TCS interview loops. HR negotiation question requiring research and flexible framing.
Reported in TCS interview loops. SQL performance question covering B-trees, composite indexes, and trade-offs.
Reported in TCS interview loops. Security and networking question covering encryption, certificates, and performance.