Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding
Ninjas X Naukri.com

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

Software Developer

Athenahealth

3 rounds | 8 Coding
problems

Interview preparation journey

Preparation

Duration: 6 months

Topics: Data Structures, Algorithms, System Design, Aptitude, OOPS

Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.

Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.

Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process

Where: Campus

Eligibility: Above 7 CGPA

Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.

Tip 2 : Every skill must be mentioned.

Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01

Round

Medium

Coding Test - Pen and paper

Duration60 minutes

Interview date4 Jun 2015

Coding problem3

This test consisted of 10 questions with no negative marking to test my problem solving ability.

1. Aptitude Question

In how many ways a committee consisting of 5 men and 3 women, can be chosen from 9 men and 12 women?

Problem approach

Since, combinations are referred to using the following formula:

nCr = n!/(n-r)!r!

Since we need to choose, 5 men out of 9 men,

For Men = 9C5

Since, we need to choose, 3 women out of 12 women,

For Women = 12C3

Now,

Choose 5 men out of 9 men

Therefore,

nCr = n!/(n – r)!r!

9C5 = 9!/(9 – 5)!5!

9C5 = 126

Thus,

We can choose 5 me...

View more

2. Aptitude Question

Find the area of the shaded design in Fig where ABCD is a square 10 cm and semicircles are drawn with each side of the square as diameter. (Use π=3.14)

Problem approach

Given:

Side of square ABCD=10cm

Area of square ABCD=(side) ^2 =10^2 =100sq.cm

Given semicircle is drawn with side of square as diameter.

So, Diameter of semicircle=Side of square=10cm

Radius of semicircle= side/2 = 5 cm

Area of semi-circle AD= (Area of circle)/2 = (pi*r^2)/2 = (3.14×25)/2

Since radius is same for semi-circle AD,BC,AB,CD

Area of semi circleAD=Area of...

View more

3. Aptitude Question

There is a chessboard of size 8×8. I am given dominoes of size 1×2 and of a single color (assume, it has a color). It is possible to place a domino on the board so that it covers exactly two squares. I can't place two dominoes on the same square and I can't place a domino so that it is partially off the board. How many ways are there to place a single domino on the board( I place it only horizo...

View more

Problem approach

Treat the centers of 64 chess positions as vertices and join neighboring vertices by edges. There are 112=2×7×8 of them. There is a one-one correspondence between possible placement of domino and the edge it covered. This means there are 112 ways to place a single domino.

02

Round

Medium

Face to Face

Duration60 minutes

Interview date4 Jun 2015

Coding problem2

Technical Interview round with questions based on DSA and algorithms.

1. Word Distance

View more

Problem approach

The idea is to traverse over all the elements in the array in two nested loops. Whenever we get occurrence of word1 or word2, take the minimum of answer and the current distance.

Time Complexity : O((N^2)*M), where N is the number of elements in the array and M is the maximum length of a string present in the array.

The idea is to get all the indices where ‘word1’ and ‘word2’ ar...

View more

2. Sudoku?

View more

Problem approach

The idea is to check whether each row, column, and 3×3 box is valid or not on the basis of the following points:

1. The Sudoku board could be partially filled, where empty cells are filled with the character ‘.’.

2. An empty Sudoku board is also valid.

3. A valid Sudoku board (partially filled) is not necessarily solvable. Only the filled cells need to be validated.

03

Round

Easy

Face to Face

Duration60 minutes

Interview date4 Jun 2015

Coding problem3

You will be having 2 or 3 members per panel and questions may be from databases , object oriented programming, operating systems, Linux commands and algorithm may be asked for problems

1. Cycle Detection in a Singly Linked List

View more

Problem approach

Floyd's algorithm can be used to solve this question.

Define two pointers slow and fast. Both point to the head node, fast is twice as fast as slow. There will be no cycle if it reaches the end. Otherwise, it will eventually catch up to the slow pointer somewhere in the cycle.

Let X be the distance from the first node to the node where the cycle begins, and let X+Y be the distance the slo...

View more

2. Level Order Traversal

`For...`

View more

Problem approach

the node and then push its children nodes in the FIFO queue.

printLevelorder(tree)

1) Create an empty queue q

2) temp_node = root /*start from root*/

3) Loop while temp_node is not NULL

a) print temp_node->data.

b) Enqueue temp_node’s children (first left then right children) to q

c) Dequeue a node from q.

Time Complexity: O(n) where n is the number of nodes in ...

View more

3. OOPS Question

What are virtual functions ?

Problem approach

A C++ virtual function is a member function in the base class that you redefine in a derived class. It is declared using the virtual keyword. It is used to tell the compiler to perform dynamic linkage or late binding on the function. A 'virtual' is a keyword preceding the normal declaration of a function. When the function is made virtual, C++ determines which function is to be invoked at the r...

View more

Start a Discussion

Similar interview experiences

SDE - 1

4 rounds | 5 problems

Interviewed by Athenahealth

1296 views

0 comments

0 upvotes

Associate Software Engineer

4 rounds | 5 problems

Interviewed by Athenahealth

769 views

0 comments

0 upvotes

Software Developer

4 rounds | 12 problems

Interviewed by Athenahealth

532 views

0 comments

0 upvotes

Product Engineer

3 rounds | 5 problems

Interviewed by Squadstack

759 views

0 comments

0 upvotes

Companies with similar interview experiences

Software Developer

5 rounds | 14 problems

Interviewed by Microsoft

2446 views

1 comments

0 upvotes

Software Developer

6 rounds | 12 problems

Interviewed by SAP Labs

1264 views

0 comments

0 upvotes

Software Developer

3 rounds | 3 problems

Interviewed by Mindtree

903 views

0 comments

0 upvotes