Interview Round DistributionClick any round below to filter
Topics:
Showing 20 of 99 results for Veeva SystemsPage 1 of 5
Coding
46
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…
Top K Frequent Elements
Find the top K frequent elements in an array.
Input: nums = [4,4,4,4,5,5,6], k = 1
Output: [4]
Explanation: The number 4 appears four times, easily making it the single most frequent element in the data structure.
Longest Consecutive Sequence
Determine the length of the longest consecutive elements sequence.
Input: nums = [0,3,7,2,5,8,4,6,0,1]
Output: 9
Explanation: The longest consecutive sequence is 0 through 8 (length 9), utilizing a hash set to check connectivity in linear time.