39 practice questions for Rippling QA Engineer interviews
Rippling QA engineer interviews test automation frameworks, test strategy, CI integration, performance testing, and debugging complex multi-service systems.
Category: Sliding window system design problemThese are commonly asked system design questions from Rippling interviewsInput: Given input Output: Computed result
Want to practise this one?
Create a free account to open the full question and practise Rippling questions with AI.
1. [OA] LRU Cache — implement the caching layer Rippling uses for frequent API responses.
Rippling's services rely on efficient caching solutions to improve response times and reduce database load. You need to implement an LRU Cache that manages API responses effectively.
class LRUCache:
def __init__(self, capacity: int): Initializes the LRU Cache with a specified capacity.
def get(self, key: int) -> int: Returns the value for the specified key, or -1 if not found.
def put(self, key: int, value: int) -> None: Updates or inserts the value for the specified key.
Example 1: Input: cache = LRUCache(2); cache.put(1, 1); cache.put(2, 2); cache.get(1) Output: 1 Explanation: Returns 1, as key 1 is present in the cache. Constraints:
1 <= capacity <= 3000
0 <= key, value <= 10^4.
Want to practise this one?
Create a free account to open the full question and practise Rippling questions with AI.