Software engineer Interview Questions in Bristol, UK | Glassdoor.co.in

Software engineer Interview Questions in Bristol, UK

167

software engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Software Developer Extraordinaire at IMDb was asked...

15 Jun 2016
 Given two arrays of integers find numbers how can you find the numbers in both? What is the complexity?4 AnswersFor each element in array A, iterate over array B. Test and store common numbers in an array. The complexity of this is O(mn), where m and n are the sizes of the two arrays. Alternatively convert one array to a Set (Java). Iterate over the other array, seeing if it is in the Set.Sort(quick sort) Array 1 => O(nlogn) Sort(quick sort) Array 2 => O(mlogm) //time complexity => O(n) //assuming n b[j]) { j++; } else { i++; } } } Overall TC=> O(nlogn + mlogm + n) //assuming n < m othersie O(nlogn + mlogm + m) //assuming m < nvoid findingIntersection(int[] a,int[] b) { for(int i=0,j=0; i b[j]) { j++; } else { i++; } } }Show more responsesStores all numbers from first array in a hashSet and use contains method to search. Searching in a hashSet is O(1)

8 Dec 2018
 You are given 8 identical looking balls. One of them is heavier than the rest of the 7 (all the others weigh exactly the same). You a provided with a simple mechanical balance and you are asked to find out the minimum amount of weighings necessary to identify the heavier ball.3 AnswersThe most logical way to do this, is by halving the balls into 2 x 4s. Put each half on each side of a scale, the half that is heavier will contain the heaviest ball, half the heaviest side again and repeat the process until you have one ball on each side of the scale and you find the heaviest ball, this should take only 3 attempts. If anyone has a better answer, please share :)It can be done in two steps, if you divide into 3-3-2 groups. If the 3-3 measures equal, than the heavier is between the two left, and it's just one more step. If one of the 3s is heavier measure two of that group, if they are equal then the third is the heavier, otherwise you have found it on the balance.Incredible that interviewers are still asking this well known brain teaser!

Game Developer at Reach Robotics was asked...

28 Mar 2019
 How do you pass persistent data from one scene to another1 AnswerMultiple answers to this one. No right or wrong. If you can't think of any standard practices, think outside the box and try to work on your own solution. The answer isn't that important. The thought process is.

Software Engineer(Internship) at FiveAI was asked...

6 Feb 2020
 There is a building with 100 floors and you have two eggs. Both eggs will break if dropped from the same certain floor. How can you find this certain floor in the least number of egg drops?1 AnswerDrop the first egg from every 10th floor. Once the egg breaks, drop the second egg from every floor between the last successful floor and the floor the first egg broke at.

Computer Vision Software Engineer at FiveAI was asked...

13 Sep 2020
 Discuss some of the object detection techniques you have worked upon1 AnswerSince I had previous experience in object detection I discussed some of the techniques such as YOLO, RCNN, Fast RCNN, and Faster RCNN and how do they differ from each other.

Senior Software Engineer at Simpleweb was asked...

18 Jun 2019
 Could you show us some code you've worked on recently?1 AnswerShowed some code I was working on in the past year.

Java Developer at OVO Energy was asked...

13 Jun 2016
 Describe the architecture of a system you have worked on1 AnswerI believe I can talk about JavaScript/HTML if I pretended I knew Java in the past

Senior Software Engineer at Just Eat was asked...

14 Nov 2018
 What's the difference between transient objects, singleton and scoped?1 AnswerTransient objects are always different; a new instance is provided to every controller and every service. Scoped objects are the same within a request, but different across different requests. Singleton objects are the same for every object and every request.

Game Developer at Reach Robotics was asked...

28 Mar 2019
 Can you think of any useful design patterns for games?1 AnswerTip: avoid singletons or strongly argue against