NatWest Group Interview Question

Python and SQL challenges via HackerRank Including: - How many edges does a fully connected (or complete) graph have? Multiple choice - What is the fundamental difference between k-means clustering and KNN? Multiple choice - Which command would be used to ensure any local tracked changes are also shared amongst remote repositories? Multiple choice - Given 2 fair 6-sided dice and a fair coin, what is the probability of rolling a combined score of 7 with the dice and having the coin show heads after tossing? Multiple choice - Given data matrix X of shape n x d and transformation matrix sigma of shape d x k, which matrix multiplications will produce a transformed data matrix Xdash of shape n x k? Multiple choice - The sigmoid function is defined. What does its value tend to as its input x moves towards negative infinity? Multiple choice - SQL challenge of 2 tables with example answer, typed answer in SQL language of choice required - You are playing a card game with three cards. Both sides of one card are black, both sides of another are white, and the remaining card has one black side and one white side. You pick a card at random and see it has a black side face-up. What is the probability that the other side of the card is white? Multiple choice - 'Descending Mount Trigonometry' question - code your own answer

Interview Answers

Anonymous

Aug 26, 2022

Hey, thanks for the information. Do you know how long it takes for the company to get back after you give the test?

5

Anonymous

Nov 4, 2022

I did the test about a month and a half ago. Only got the second round interview this week.

1

Anonymous

Jun 9, 2022

Most of the questions were alright but it was clear there was one or two in there that were specifically tailored to those with a computer sciences academic background. As an role that attracts a diverse range of candidates I was surprised to see such a tricky question and it definitely stumped me.

2