Natwest Group Intern OA On-Campus
Summary
I completed Natwest Group's on‑campus intern online assessment, passing all MCQs and most technical questions.
Full Experience
1) MCQs on SQL covering queries related to deleting, alter, views, order by, rollback and joins.
2) Aptitude Question
3) Behavioral Questions
4) Two technical questions-
- (i) Number of components - https://leetcode.com/problems/number-of-provinces/description/ (12/12 passed)
- (ii) Given a parent string
parentand a substringsub, return the number of timessuboccurs inparent, ignoring case differences between letters. (15/16 passed)
Interview Questions (2)
Number of Provinces
Given an undirected graph represented by an adjacency matrix, find the number of connected components (provinces) in the graph.
Count Substring Occurrences Ignoring Case
Given a parent string parent and a substring sub, return the number of times sub occurs in parent, ignoring case differences between letters.