Aricent Technologies (Holdings) Limited interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Aricent Technologies (Holdings) Limited
upvote
share-icon
2 rounds | 14 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: C, C++, Pointer, Data structures, Pointers, OOPS
Tip
Tip

Tip 1 : Work on basic concepts
Tip 2 : Brush up basic before going to interview
Tip 3 : Resolve coding issue

Application process
Where: Campus
Eligibility: Above & CGPA
Resume Tip
Resume tip

Tip 1 : Prepare whatever you have written in resume
Tip 2 : Have some projects on resume

Interview rounds

01
Round
Medium
Face to Face
Duration120 minutes
Interview date5 Aug 2015
Coding problem12

Interview was conducted for on campus student i.e fresher so asked question from various subject including coding, logic design and electronics

1. Power of Two

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

You have been given an integer 'N'.


Your task is to return true if it is a power of two. Otherwise, return false.


An integer 'N' is a power of two, if it can be expressed as 2 ^ 'K' where 'K' is an integer.


For example:
'N' = 4,
4 can be represented as 2^2. So, 4 is the power of two, and hence true is our answer.
Try solving now

2. Output Question

What will be output of below code snippet#include int *fun(){      int x = 5;      return &x;}int main(){      int *p = fun();      printf("%d\n", *p)      return 0;}

Problem approach

Output : A garbage Address
x is local variable and goes out of
scope after an execution of fun() is over

3. Technical Question

How will you protect global variable as it accessible from all function

Problem approach

We can use semaphore/Mutex

4. Technical Question

What is difference between below declaration char *p = "hello"; char p[] = "hello";

Problem approach

1. char *p = "hello"; will be stored in code segment
2. char p[] = "hello" will be store in stack segment

5. Technical Question

Write a prototype of function having argument as array of pointer and returning pointer of int type

Problem approach

int * (*func)(char *arr[])

6. Second largest element in the array

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

You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

Note:
a) Duplicate elements may be present.

b) If no such element is present return -1.
Example:
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.

Output:  6

Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
Try solving now

7. Middle Of Linked List

Easy
20m average time
80% success
0/40
Asked in companies
NoBrokerIBMHCL Technologies

Given a singly linked list of 'N' nodes. The objective is to determine the middle node of a singly linked list. However, if the list has an even number of nodes, we return the second middle node.

Note:
1. If the list is empty, the function immediately returns None because there is no middle node to find.
2. If the list has only one node, then the only node in the list is trivially the middle node, and the function returns that node.
Problem approach

Traverse linked list using two-pointers. Move one pointer by one and the other pointers by two. When the fast pointer reaches the end, the slow pointer will reach the middle of the linked list

Try solving now

8. Technical Question

can we declare any local variable as extern

Problem approach

A local variable only exist in the local scope, as it is created on the stack

9. Technical Question

Explain storage classes

Problem approach

Explain auto, register, extern and static

10. OS Question

What is difference between process and threads?

Problem approach

Threads are the part of process and share the virtual address space of the process. Threads are lightweight
because overhead of creating thread is less compared to process.
Communication between process is costly

11. C Question

How to avoid Structure Padding in C

Problem approach

to avoid structure padding we can use pragma pack

12. Puzzle

Given two candles. Each of them burns for one hour. They burn unevenly in different parts though. In addition, let’s have a box of matches. Measure 45 minutes and 15 minutes.

02
Round
Medium
Face to Face
Duration30 minutes
Interview date5 Aug 2015
Coding problem2

Moreover it based on analytical skill

1. Delete Kth node From End

Moderate
15m average time
95% success
0/80
Asked in companies
Expedia GroupSquadstackAmazon

You have been given a singly Linked List of 'N' nodes with integer data and an integer 'K'.


Your task is to remove the 'K'th node from the end of the given Linked List and return the head of the modified linked list.


Example:
Input : 1 -> 2 -> 3 -> 4 -> 'NULL'  and  'K' = 2
Output: 1 -> 2 -> 4 -> 'NULL'
Explanation:
After removing the second node from the end, the linked list become 1 -> 2 -> 4 -> 'NULL'.

altImage


Try solving now

2. Reverse Bits

Moderate
0/80
Asked in companies
Chegg Inc.GrofersMicrosoft

There is a song concert going to happen in the city. The price of each ticket is equal to the number obtained after reversing the bits of a given 32 bits unsigned integer ‘n’.


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 the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
Software Engineer
2 rounds | 6 problems
Interviewed by Aricent Technologies (Holdings) Limited
826 views
0 comments
0 upvotes
Software Engineer
3 rounds | 6 problems
Interviewed by Aricent Technologies (Holdings) Limited
907 views
0 comments
0 upvotes
Software Engineer
2 rounds | 9 problems
Interviewed by Aricent Technologies (Holdings) Limited
889 views
0 comments
0 upvotes
Software Engineer
2 rounds | 8 problems
Interviewed by Aricent Technologies (Holdings) Limited
773 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7923 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10070 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4395 views
1 comments
0 upvotes