**Round 1**
## Interview Question — Maximum Sum of Unique Subarray
Given an integer array `nums` and an integer `k`, write a function to identify the **highest possible sum of a subarray** within `nums`, where:
1. The subarray must have exactly `k` elements.
2. All elements in the subarray must be unique.
3. If no such subarray exists,…
Evaluate a mathematical expression given as a string.
Given a string representing a mathematical expression, evaluate it and return its value. The expression can contain basic arithmetic operators, and integer division should truncate toward zero.
Input: s = "3+5/2"
Output: 5
Explanation: Following the order of operations (PEMDAS), 5…
Iterator over a Binary Search Tree
Implement an iterator over a binary search tree.
Input: root = [7,3,15,null,null,9,20], calls: next(), hasNext(), next()
Output: 3, TRUE, 7
Explanation: The iterator yields the smallest value (3), confirms more nodes exist, then properly yields the next in-order value (7).
How do you use tools like dbt or Great Expectations to assert row counts, check for uniqueness, and flag statistical outliers during the transform phase?