CISCO | 7+ Years Experience
Anonymous User
641

Round 1
Problem 1:
Input: s = "42" Output: 42
Input: s = " -42" Output: -42
Input: s = "4193 with words" Output: 4193

Problem 2:
Input: intervals = [[1,3],[2,6],[8,10],[15,18]]
Output: [[1,6],[8,10],[15,18]]
Explanation: Since intervals [1,3] and [2,6] overlap, merge them into [1,6].

Design Whatsapp and how to handale load

Round 2
Problem 1: (Same as 1st round)
Input: s = "42" Output: 42
Input: s = " -42" Output: -42
Input: s = "4193 with words" Output: 4193

Problem 2:
int []arr = {2, 1, 4, 2, 3, 7, 2, 0};
int x = 2
output: [1 4 3 7 0 2 2 2]

Round 3
Questions on current projects
Design malware system

Rejected in round 3

Comments (0)