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

Associate Software Engineer

Accenture
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Logical reasoning, Verbal Ability, Coding, Quantitative Aptitude, Computer Applications
Tip
Tip

Tip 1 : Company specific Youtube tutorials
Tip 2 : Remember tricks
Tip 3 : Practice

Application process
Where: Other
Eligibility: Above 6.5 in Btech , No pending backlogs
Resume Tip
Resume tip

Tip 1 : Resume needs to be Short and concise
Tip 2 : Prefer a single page resume without any company logos. Mention your projects and highlight achievements. No need to add irrelevant information to cover up the space unnecessarily

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date6 Dec 2019
Coding problem1

1. Check if two trees are Mirror

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

You are given two arbitrary binary trees consisting of N and M number of nodes respectively, your task is to check whether the two trees are mirror of each other or not.

Two trees are said to be mirror of each other, if

1. Roots of both the given trees are same.
2. Left subtree of the root of the first tree is the mirror of the right subtree of the root of the second tree.
3. Right subtree of the root of the first tree is the mirror of the left subtree of the root of the second tree.

For example,both the given trees are mirror image of each other: example

Try solving now
02
Round
Medium
Face to Face
Duration30 minutes
Interview date6 Dec 2019
Coding problem1

1. Stack using queue

Moderate
25m average time
65% success
0/80
Asked in companies
AmazonDunzoOptum

Implement a Stack Data Structure specifically to store integer data using two Queues.


There should be two data members, both being Queues to store the data internally. You may use the inbuilt Queue.


Implement the following public functions :

1. Constructor:
It initializes the data members(queues) as required.

2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.

4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.

5. size() :
It returns the size of the stack at any given instance of time.

6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)

Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)

Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Example
Operations: 
1 5
1 10
2
3
4

Enqueue operation 1 5: We insert 5 at the back of the queue.
  Queue: [5]

Enqueue operation 1 10: We insert 10 at the back of the queue.
  Queue: [5, 10]

Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
  Output: 5
  Queue: [10]

Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
  Output: 10
  Queue: [10]

IsEmpty operation 4: We check if the queue is empty.
  Output: False
  Queue: [10]
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

How do you create a function in JavaScript?

Choose another skill to practice
Join the Discussion
1 reply
Mahesh Podamekala 17 Oct, 2023

class helloworld{

    Public static void main (String []args){

          System.out.println("Hello World");

}

 

}

0 replies
0 upvotes
Reply
Report
Similar interview experiences
company logo
Associate Software Engineer
3 rounds | 2 problems
Interviewed by Accenture
2608 views
0 comments
0 upvotes
company logo
Associate Software Engineer
2 rounds | 5 problems
Interviewed by Accenture
6475 views
0 comments
0 upvotes
company logo
Associate Software Engineer
4 rounds | 10 problems
Interviewed by Accenture
1521 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 11 problems
Interviewed by Accenture
3558 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Software Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
4315 views
1 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
2677 views
2 comments
0 upvotes
company logo
Associate Software Engineer
2 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
1811 views
0 comments
0 upvotes