McAfee interview experience Real time questions & tips from candidates to crack your interview

Technical Analyst-Intern

McAfee
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures & Algorithms(Basic), Operating System, OOPS, Networking, DBMS, Arrays, Hashing, LinkedList
Tip
Tip

Tip 1 : As it was intern position, So focus more on basics & understanding of Data structures.
Tip 2 : Practicing Questions from GFG would help you a lot & Prepare few small projects so that you can discuss them.
Tip 3 : Do focus on Core subjects Most Important would be: Operating System, OOPS & Networking.

Application process
Where: Campus
Eligibility: Criteria was 8CGPA
Resume Tip
Resume tip

Tip 1 : Make it one page & Include all you have accomplished
Tip 2 : Add 2-3 projects, be it small as you should have few things to discuss

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date22 Sep 2021
Coding problem1

It was a 90 minute round, where in there were few MCQs based on core subjects & Aptitude. Post that there was 1 Coding question of Easy level. The platform was Elitmus for the test. It was quite easy.

1. Frequency In A Sorted Array

Easy
15m average time
85% success
0/40
Asked in companies
SliceUrban Company (UrbanClap)Tech Mahindra

You are given a sorted array 'ARR' and a number 'X'. Your task is to count the number of occurrences of 'X' in 'ARR'.

Note :
1. If 'X' is not found in the array, return 0.
2. The given array is sorted in non-decreasing order.
Problem approach

It was quite simple, A simple for Loop worked for it. Just Loop the elements & check whether that is the number or not & then increase the count.

Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date30 Sep 2021
Coding problem2

So the interviewer was quite friendly during the round. 
Most of the questions were from OS, OOPS & DBMS.
All the questions were quite easy, its just you need to be good with basics & Apply them.
For coding the interviewer gave a basic questions just to check if I can think or not.
I did not revise Computer networks so I said the truth and then no questions from CN was asked.

1. Operating System Question

Questions such as difference between Process & Thread. What is Deadlock etc

Problem approach

Tip 1 : Give a read from all the basic concepts of OS that would help you
Tip 2 : Try to revise them before interview
 

2. Find prime numbers

Easy
15m average time
80% success
0/40
Asked in companies
CiscoAdobeMyntra

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example - 2, 3, 17, etc.

You can assume that the value of N will always be greater than 1. So, the answer will always exist.

Try solving now
03
Round
Easy
Video Call
Duration50 minutes
Interview date30 Sep 2021
Coding problem2

So In this I had 2 interviewers, First of all first interviewer asked set of questions & then the 2nd interviewer asked another set of questions. It was also based on fundamentals of OOPS, OS, DBMS & Data structures.
So in this the interviewer before hand asked me about my favorite topic in Data structures so questions were according to that only.

1. DBMS Questions

What are ACID properties, One of the query question involving Joins, One Structuring question that how will I arrange the data to get desired output, Difference between SQL & NoSQL Databases.

Problem approach

Tip 1 : Practice few SQL questions
Tip 2 : Do the theoretical concepts Such as Normalization, Joins etc
 

2. Most Frequent Word

Easy
15m average time
85% success
0/40
Asked in companies
McAfeeAdobeCognizant

You are given two strings 'A' and 'B' of words. Your task is to find out the most frequent and lexicographically smallest word in string 'A', which is not present in string 'B'. If no such word is present in 'A', then return -1.

Note:

1. A word is a sequence of one or more lowercase characters.

2. Words are separated by a single whitespace character.
Example:
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.
Problem approach

Firstly I gave the solution using two loops. The outer loop picks all elements one by one. The inner loop finds the frequency of the picked element and compares it with the maximum so far. 
Then I Gave the solution using a frequency Array but it was not accepted.
Post that I used the concept of Hashing & used a Hashmap to store the Keys & Values in it. So that was accepted.
I was not said to type the code for the Final approach. Only the Approach was asked

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is 3 + 2 * 4 based on operator precedence?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 2 problems
Interviewed by McAfee
958 views
0 comments
0 upvotes
SDE - 1
3 rounds | 18 problems
Interviewed by McAfee
614 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
1609 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1315 views
0 comments
0 upvotes