If you are given an array of 6 numbers 123345 give the logic for finding the duplicate numbers in this array Other technical questions where purely based on what we say previously. When I talked about my course and specializations, all the questions were based on that only. Asked many questions regarding cloud and ethical hacking terminologies

AnswerBot
2y
Logic to find duplicate numbers in an array of 6 numbers
Iterate through the array and compare each element with the rest of the elements
If a match is found, print the duplicate number
Use nested loops ...read more
Harsh Vardhan
2mo
first define a function and use its parameter as (arr) then create an empty dict to store seen numbers seen={ } create an empty list for duplicates = [ ] then use for loop for num in arr if num in see...read more
Anonymous
1y
array = [1, 2, 3, 3, 4, 5]
for i in range(0,len(array)):
for j in range(i+1, len(array)):
if array[i] == array[j]:
print(array[j])

luxuriantlatte
1y
currently not working
create an array and empty stack(duplicate=[]) make for loop start from 0 and end to arr.length inside for loop build a if condition( arr.indexOf(arr[i])!== i && duplicate.indexOf(arr[i]) === -1) then ...read more
Leonard Thomas Leake
1y
3 is the duplicate number
Ankit Verma
1y
3 number are duplicate number
Ananya Gupta
1y
- first define a function and use its parameter as (arr)then create an empty dict to store seen numbers seen={ }create an empty list for duplicates = [ ]then use for loop for num in arrif num in seenif ...read more
Priya
2y
3 is the doublicate number
Add answer anonymously...
Deloitte Associate Analyst interview questions & answers
An Associate Analyst was asked 2mo agoQ. Why do you think you would be a good fit for this role at Deloitte?
An Associate Analyst was asked 2mo agoQ. What are the 3 Golden Rules of Accounting?
An Associate Analyst was asked 3mo agoQ. What is the difference between receivables and payables?
Popular interview questions of Associate Analyst
An Associate Analyst was asked 2mo agoQ1. Why do you think you would be a good fit for this role at Deloitte?
An Associate Analyst was asked 2mo agoQ2. What are the 3 Golden Rules of Accounting?
An Associate Analyst was asked 3mo agoQ3. What is the difference between receivables and payables?
Top HR questions asked in Deloitte Associate Analyst
An Associate Analyst was asked 2mo agoQ1. Where do you see yourself in five years?
An Associate Analyst was asked 9mo agoQ2. Why choose Deloitte?
An Associate Analyst was asked 12mo agoQ3. Explain the projects in your resume.
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

