Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Accenture interview experience Real time questions & tips from candidates to crack your interview

Associate Software Engineer

Accenture
upvote
share-icon
3 rounds | 11 Coding problems

Interview preparation journey

expand-icon
Journey
It was a great experience to go through the hiring process at Accenture for the role of ASE. The company came to our campus, and as a mass recruiter, it hired more than 100 students from our college.
Application story
I applied for this role on my campus. The hiring process consists of four rounds, all conducted online.
Why selected/rejected for the role?
I may be rejected from this hiring process due to a lack of some skills they are looking for.
Preparation
Duration: 1 month
Topics: Data Structures and Algorithm, OOPS, Operating system, DBMS, Puzzles
Tip
Tip

Tip 1: Solve array and string problems.
Tip 2: Practice more aptitude questions.

Application process
Where: Campus
Eligibility: Above 60%
Resume Tip
Resume tip

Tip 1: Highlight your achievements.
Tip 2: Use strong verbs.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date10 Sep 2023
Coding problem6

Aptitude, Analytical, and Logical Thinking: Fundamental and intermediate-level questions. Consistent practice is essential.

Vocabulary and Grammar: Intermediate-level questions testing language skills. Regular practice is key.

Pseudocode Challenge: Identify errors or solve problems in pseudocode. Requires a strong coding foundation and constant practice.

Technical MCQs: Questions on MS Office, cloud computing, and networking. Prepare with at least 10 mock tests due to their tricky nature.

Intermediate-level questions appear in all sections. Meeting the cutoff advances you to the next stage.

1. Aptitude Question

The average age of a man and his son is 28 years. The ratio of their ages is 3:1 respectively. What is the man's age?

Problem approach

Tip 1: Practice from the previous year's questions.
 

2. Aptitude Question

The respective ratio of radii of two right circular cylinders (A & B) is 2:5. The respective ratio of the heights of cylinders A and B is 3:1. What is the respective ratio of volumes of cylinders A and B?

Problem approach

Tip 1: Practice more and more
 

3. What will be the output of the following pseudocode?

Initialize Integer x, y, z
Set y = 1, x = 2
z = x ^ y
Print z

4. Predict the output of the following pseudocode.

Integer value, n
Set value = 1, n = 45
while(value less than equal to n)
value = value << 1
end loop
Print value

5. Technical Problem

How can we make a C++ class such that objects of it can only be created using a new operator? If a user tries to create an object directly, the program produces a compiler error.

6. Technical Problems

Method overriding can be prevented by using final as a modifier at ______.

02
Round
Easy
Online Coding Test
Duration45 minutes
Interview date10 Sep 2023
Coding problem2

After completing Round 1, you will seamlessly progress to the next coding round, both of which take place on the same day. During this stage, you’ll have a 45-minute window to tackle two coding questions, with the question difficulty varying from one candidate to another and from one-time slot to another. Strengthening your skills in Data Structures and Algorithms (DSA) will prove beneficial, particularly if you encounter challenging questions during your time slot. To maximize your chances of success, be sure to prepare thoroughly for the coding portion of the interview

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
ThalesSamsung R&D InstituteNatwest Group

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

The Two Sum problem asks us to find two numbers in an array that sum up to a given target value. We need to return the indices of these two numbers.

Approach
One brute force approach is to consider every pair of elements and check if their sum equals the target. This can be done using nested loops, where the outer loop iterates from the first element to the second-to-last element, and the inner loop iterates from the next element to the last element. However, this approach has a time complexity of O(n^2).
A more efficient approach is to use a hash table (unordered_map in C++). We can iterate through the array once, and for each element, check if the target minus the current element exists in the hash table. If it does, we have found a valid pair of numbers. If not, we add the current element to the hash table.
An approach using a hash table:

Create an empty hash table to store elements and their indices.
Iterate through the array from left to right.
For each element nums[i], calculate the complement by subtracting it from the target: complement = target - nums[i].
Check if the complement exists in the hash table. If it does, we have found a solution.
If the complement does not exist in the hash table, add the current element nums[i] to the hash table with its index as the value.
Repeat steps 3-5 until we find a solution or reach the end of the array.
If no solution is found, return an empty array or an appropriate indicator.
This approach has a time complexity of O(n) since hash table lookups take constant time on average. It allows us to solve the Two Sum problem efficiently by making just one pass through the array.

Try solving now

2. Longest Common Prefix

Moderate
40m average time
60% success
0/80
Asked in companies
AdobeGrofersDunzo

You are given an array ‘ARR’ consisting of ‘N’ strings. Your task is to find the longest common prefix among all these strings. If there is no common prefix, you have to return an empty string.

A prefix of a string can be defined as a substring obtained after removing some or all characters from the end of the string.

For Example:
Consider ARR = [“coding”, ”codezen”, ”codingninja”, ”coders”]
The longest common prefix among all the given strings is “cod” as it is present as a prefix in all strings. Hence, the answer is “cod”.
Problem approach

Initialize an empty string ans to store the common prefix.
Sort the input list v lexicographically. This step is necessary because the common prefix should be common to all the strings, so we need to find the common prefix of the first and last string in the sorted list.
Iterate through the characters of the first and last string in the sorted list, stopping at the length of the shorter string.
If the current character of the first string is not equal to the current character of the last string, return the common prefix found so far.
Otherwise, append the current character to the ans string.
Return the ans string containing the longest common prefix.

Try solving now
03
Round
Easy
Video Call
Duration30 minutes
Interview date6 Jul 2024
Coding problem3

This round is mainly for checking our communication and some technical skills.

1. Operating System

What is virtual memory? (Learn)

Problem approach

Tip 1: Precise response 
Tip 2: Keep the tone normal
 

2. DBMS

Describe ACID Properties. (Learn)

Problem approach

Tip 1: Explain it with an example 
 

3. DBMS

How to create empty tables with the same structure as another table?

Problem approach

Tip 1:Practice SQL thoroughly
 

Here's your problem of the day

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

Skill covered: Programming

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
Associate Software Engineer
3 rounds | 2 problems
Interviewed by Accenture
2307 views
0 comments
0 upvotes
company logo
Associate Software Engineer
2 rounds | 5 problems
Interviewed by Accenture
5417 views
0 comments
0 upvotes
company logo
Associate Software Engineer
4 rounds | 10 problems
Interviewed by Accenture
1221 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 3 problems
Interviewed by Accenture
739 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Software Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
4174 views
1 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
2563 views
2 comments
0 upvotes
company logo
Associate Software Engineer
2 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
1734 views
0 comments
0 upvotes