Question 1:- Given a log file, each line begins with some IP address, space and text lines , find the most frequent IP address.
Question 2:-
a) You are an avid rock collector who lives in southern California. Some rare and desirable rocks just became available in New York, so you are planning a cross-country road trip. There are several other rare rocks that you could pick up along the way. You have been given a grid filled with numbers, representing the number of rare rocks available in various cities across the country. Your objective is to find the optimal path from So_Cal to New_York that would allow you to accumulate the most rocks along the way.
Note: You can only travel either north (up) or east (right).
b) Consider adding some additional tests in doTestsPass().
c) Implement optimalPath() correctly.
I solved both in 20 mins, Yet I recieved a rejection saying your profile doesn't match out for backend development.
Completely disheartened to hear that , was looking for job change and always thought GS would be a very good commpany to work.
will be very helpful if someone can refer me to their company.
Thanks