Hello Everyone, Hope you are doing well.
Today its my first experience of an Online Assessment round for an Internship role in Google.
Well being a beginner (Not even 100 Leetcode Q's solved) it was not so fruitful one, But still a good experience.
The Questions are as follows :-
QUESTION 1 :

A better sample case for this Question (which is not in the Snapshot) is :
INPUT :
6 4
13 15 18
17 3 13
7 20 15
2 4 5
4 3 2
10 5 11
OUTPUT :
35
QUESTION 2 :

I thought of sharing my experience with the community. Share some efficient approaches if you want.
Thank You