Athenahealth Company Numerical Ability

Party of 5 women and 5 men.
A committee consists of 3 women and 2 men
The total number of ways to form this committee.

Read Solution (Total 2)

Athenahealth Other Question

There is one highland where planes get fuel. A plan can cover the half of the world with full tank. A plane can transfer fuel from one plane to the other in the air. How many planes are required to make one plane cover the entire world once. Starting point of the travel is the Highland and coming back to the same Highland. All the other planes giving fuels to this Plane should also come back to the same highland and they don't have to cover the entire world. They took us to the lab for this on and we were each given a paper with a program on it. It was all mixed as in each person got a different paper, You have around an hour to finish coding. after which you have to explain your code.They also given you wrong or incorrect inputs and see how your code handles these exceptions:-

1) Program to print a pyramid of stars

2) Write some code for time complexity O(log log n)

3). heap sort

4). Write code to find the kth maximum of n elements

5). Finding the palindrome in the given set of strings

6). The maximum sum from the first to the last line. i.e. 1+2+4+14,1+3+5+18,1+2+5+14.........
CODE: SELECT ALL
1
2 3
4 5 7
12 14 18 19

7). Given a Tree, write code to find the mirror image of that tree.

8). Implement FLAMES game
This is a game which predicts the compatibility between given two names.
All the common characters in the given two names are removed. The total number of distinct
characters in both the names are circled around the word FLAMES.
so the character at position x%strlen(FLAMES) in the word FLAMES is removed at each step till it
gets one character. Also the character removed in every step should not be considered for the
next step.
x - Total number of distinct characters in the given two names.
F - Friend
L - Love
A - Affection
M - Marriage
E - Enemy
S – Sister

9). Given a sentence, reverse the words in the sentence
Input:
"I am a boy"
Output:
"boy a am I"