Bloomberg Frankfurt Office | Software Engineer Role (New Grad) | Phone Interview (Reject)
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-11-13Added By Anonymous
Source: Link
Bloomberg Frankfurt Office | Software Engineer Role (New Grad) | Phone Interview (Reject)
Interview started off with an introduction of the interviewer and then mine along with basic "Why Bloomberg?" question. Coding happend in Hackerrank codepair and communication via phone.
Question asked: Create a class for Browser history where it should have a URL visit function and display of Browser History visited. The only change here is that if a user is revisting any url, it should appear on top and previous entry should be deleted.
Sample Test Case:
Input :
Output:
Deep dive into every particular written as a part of the code. Testing OOP concepts as well. Discussed about delete pointer and why is that used.
Interview started off with an introduction of the interviewer and then mine along with basic "Why Bloomberg?" question. Coding happend in Hackerrank codepair and communication via phone.
Question asked: Create a class for Browser history where it should have a URL visit function and display of Browser History visited. The only change here is that if a user is revisting any url, it should appear on top and previous entry should be deleted.
Sample Test Case:
Input :
Insert("www.google.com")
Insert("www.bing.com")
Insert("www.facebook.com")
Display()
Insert("www.google.com")
Insert("www.bloomberg.com")
Display()
Output:
Display 1:
www.facebook.com
www.bing.com
www.google.com
Display 2:
www.bloomberg.com
www.google.com
www.facebook.com
www.bing.com
Deep dive into every particular written as a part of the code. Testing OOP concepts as well. Discussed about delete pointer and why is that used.