Calculate the minimum number of parentheses to add to make a string valid.
A parentheses string is valid if and only if it is empty, or properly balanced. Return the minimum number of parentheses you must add to make the resulting string valid.
Input: s = "((("
Output: 3
Explanation: There are three open parentheses without any matchi…
Read full questionSoftware Engineer #Strings
Prepfully 2026-11-19conf 75% Explain context switching and thread starvation in the context of blocking synchronous calls on a busy server
Software Engineer
Prepfully 2026-10-12conf 75% Problem Solving Role Knowledge
How do you usually contribute to improving the NPS score of the product you manage?
Customer Experience Lead
Prepfully 2026-09-19conf 75% Describe a time you had to earn trust quickly.
Product Manager
Prepfully 2026-09-09conf 75% Role Knowledge Situational
Imagine your product team has released a major update with new features and changes. How would you introduce this to a long-time customer?
Customer Service Representative
Prepfully 2026-09-02conf 75% What's your approach to forecasting revenue for your accounts?
Technical Account Manager
Prepfully 2026-08-28conf 75% How do you structure your prospecting strategy?
Account Manager
Prepfully 2026-08-24conf 75% Walk me through the encryption and security protocols necessary to handle sensitive PCI data within your microservices
Software Engineer #Distributed Systems
Prepfully 2026-08-06conf 75% Can you share a time when you faced a major sales rejection and how you handled it?
Account Manager
Prepfully 2026-07-16conf 75% Sketch out the handshake between the client application and the media server regarding current network health
Software Engineer
Prepfully 2026-06-09conf 75% A user complains their video is stuck processing for hours so how do you design the system to prevent bottlenecking
Software Engineer
Prepfully 2026-05-27conf 75% How do you communicate complex technical information to clients who may not have a deep technical background?
Technical Account Manager
Prepfully 2026-05-24conf 75% Give me a deep dive into the concurrency control mechanisms that enforce isolation
Software Engineer
Prepfully 2026-05-23conf 75% Can you architect a Least Recently Used tracking mechanism without killing read performance
Software Engineer
Prepfully 2026-05-20conf 75% Decomposition System Design Technical
I need a system design that handles viral traffic spikes gracefully without degrading timeline generation
Software Engineer
Prepfully 2026-05-12conf 75% Detail the mathematical concept of the hash ring and how requests route to physical servers
Software Engineer
Prepfully 2026-05-03conf 75% Map out an in memory data grid that natively supports complex structures like sorted sets and pub sub channels
Software Engineer
Prepfully 2026-05-01conf 75% Map out the internal structure of a hash map including the array the hash function and the storage buckets
Software Engineer #Arrays & Hashing
Prepfully 2026-04-22conf 75% Debugging a single request spanning five services is awful so architect a tracing solution
Software Engineer
Prepfully 2026-04-22conf 75% If memory is not an issue but speed is critical how do you design a word registry
Software Engineer
Prepfully 2026-04-16conf 75%