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

SDE - 1

McAfee
upvote
share-icon
3 rounds | 18 Coding problems

Interview preparation journey

expand-icon
Journey
The journey from the first round to the last round was too smooth. We got every piece of information in our mail. It was a pool campus drive that was conducted on an e-litmus platform. There were three rounds: An aptitude test on the e-litmus platform and two online technical interviews on Microsoft Teams.
Application story
I participated in the pool campus drive that was conducted on an e-litmus platform. There were 3 rounds in total: An aptitude test, which was conducted on the e-litmus platform, and two online technical interviews that were conducted on Microsoft Teams. Each round was an elimination round.
Why selected/rejected for the role?
I was rejected for the role in the last round of interviews as I couldn't meet the expectation of answers the interviewer was looking for. Also, there was a strong competition among candidates, so I believe the ones who got selected might be more talented than me.
Preparation
Duration: 4 months
Topics: Data Structures and Algorithms, OOPS, Database, Python, System Design
Tip
Tip

Tip 1: Gain extensive knowledge in any one programming language.
Tip 2: Should have a brief knowledge of databases
Tip 3: Have advanced problem-solving skills

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

Tip 1: Have strong projects on your resume
Tip 2: Have some extra-ordinary achievements or certifications

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 mins
Interview date9 Oct 2021
Coding problem10

This round was conducted at 10 a.m. on the e-litmus platform. This test was 90 minutes long and had 50 aptitude and technical questions.

1. Puzzle

Three times, the first of three consecutive odd integers is three more than twice the third. The third integer is:

Problem approach

Tip 1: Practice aptitude questions available online
Tip 2: Solve the practice questions on pen and paper

2. Puzzle

A two-digit number is such that the product of the digits is 8. When 18 is added to the number, then the digits are reversed. The number is:

Problem approach

Tip 1: Practice aptitude questions available online
Tip 2: Solve the practice questions on pen and paper

3. Puzzle

A man buys Rs. 20 shares paying 9% dividend. The man wants to have an interest of 12% on his money. The market value of each share is:

Problem approach

Tip 1: Practice aptitude questions available online
Tip 2: Solve the practice questions on pen and paper

4. Puzzle

Running at the same constant rate, 6 identical machines can produce a total of 270 bottles per minute. At this rate, how many bottles could 10 such machines produce in 4 minutes?

Problem approach

Tip 1: Practice aptitude questions available online
Tip 2: Solve the practice questions on pen and paper

5. Puzzle

39 persons can repair a road in 12 days, working 5 hours a day. In how many days will 30 persons, working 6 hours a day, complete the work?

Problem approach

Tip 1: Practice aptitude questions available online
Tip 2: Solve the practice questions on pen and paper

6. Puzzle

A watch that gains 5 seconds in 3 minutes was set right at 7 a.m. In the afternoon of the same day, when the watch indicated a quarter past 4 o'clock, the true time is:

Problem approach

Tip 1: Practice aptitude questions available online
Tip 2: Solve the practice questions on pen and paper

7. SQL MCQ

To give a temporary name to a table, or a column in a table for more readability, what is used? (Learn)

Problem approach

Tip 1: Practice the SQL queries 
Tip 2: Study the database in detail

8. OS MCQ

Which system call returns the process identifier of a terminated child? (Learn)

Problem approach

Tip 1: Study the operating system
Tip 2: Read the question carefully

9. DBMS MCQ

Mutual exclusion can be provided by the __________ (Learn)

Problem approach

Tip 1: Study the operating system
Tip 2: Read the question carefully

10. DBMS MCQ

Which one of the following is a set of one or more attributes taken collectively to uniquely identify a record? (Learn)

Problem approach

Tip 1: Practice the SQL queries 
Tip 2: Study the database in detail

02
Round
Medium
Video Call
Duration35 mins
Interview date26 Oct 2021
Coding problem3

This round was conducted in the afternoon on Microsoft Teams. It was 35 minutes long and had questions about data structures, coding, and databases.

1. OS questions

What is the difference between process and thread? (Learn)

What is deadlock? What are the necessary conditions to achieve deadlock? (Learn)

Problem approach

Tip 1: Explain the answer with an example
Tip 2: Study the operating system in detail

2. Armstrong Number

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

You are given an integer ‘NUM’ . Your task is to find out whether this number is an Armstrong number or not.

A k-digit number ‘NUM’ is an Armstrong number if and only if the k-th power of each digit sums to ‘NUM’.

Example
153 = 1^3 + 5^3 + 3^3.

Therefore 153 is an Armstrong number.
Problem approach

Step 1: Obtain the number to be checked.
Step 2: Count the number of digits in the given number.
Step 3: Initialize a variable armstrong_sum to 0.
Step 4: Extract each digit from the number using modulo (%) and integer division (//).
Step 5: Raise each digit to the power of the total number of digits and add it to armstrong_sum.
Step 6: Repeat steps 4 and 5 until all the digits have been processed.
Step 7: Compare armstrong_sum with the original number.
Step 8: If armstrong_sum is equal to the original number, it is an Armstrong number. Otherwise, it is not.

Try solving now

3. DBMS Questions

What are ACID properties? Explain with an example of each.  (Learn)

What are the different types of constraints in SQL? (Learn)

Problem approach

Tip 1: Read ACID properties in detail
Tip 2: Speak confidently

03
Round
Hard
Video Call
Duration60 mins
Interview date27 Oct 2021
Coding problem5

This round was conducted in the afternoon at Microsoft Teams. It was 60 minutes long. This was a technical round and was mostly based on problem-solving and coding skills. I got rejected after this round only.

1. LCA Of Binary Tree

Problem approach

Step 1: Start from the root of the binary tree.
Step 2: If the root is one of the given nodes, then it is the LCA.
Step 3: Recursively search for the LCA in the left and right subtrees of the root.
Step 4: If both nodes are found in the left subtree, recursively find the LCA in the left subtree.
Step 5: If both nodes are found in the right subtree, recursively find the LCA in the right subtree.
Step 6: If one node is found in the left subtree and the other in the right subtree, then the current root is the LCA.
Step 7: Return the LCA.

2. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
OracleSwiggyAmerican Express

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

Step 1: I solved the problem using a stack
Step 2: Interviewer asked me to solve without the stack
Step 3: Further, I wrote the solution without stack but took a bit longer time

Try solving now

3. SQL Question

What are the different types of JOINS in SQL? (Learn)

Problem approach

Tip 1: Read types of JOINS in SQL
Tip 2: Answer confidently

4. SQL Question

Write an SQL query to create a view that has names in descending order. (Learn)

Problem approach

Tip 1: Practice SQL queries
Tip 2: Study views in the database

5. Project based question

What is the most challenging project on which you have worked till now?

Problem approach

Tip 1: Explain your last year project or internship project, if any 
Tip 2: Speak with full confidence

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
957 views
0 comments
0 upvotes
Technical Analyst-Intern
3 rounds | 5 problems
Interviewed by McAfee
0 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
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
109330 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
53406 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
32803 views
6 comments
0 upvotes