Epic Systems Interview Questions
- 1of 1 vote
AnswersThere is a security keypad at the entrance of a building. It has 9 numbers 1 - 9 in a 3x3 matrix format.
- SHA.AN March 04, 2009
1 2 3
4 5 6
7 8 9
The security has decided to allow one digit error for a person but that digit should be horizontal or vertical. Example: for 5 the user is allowed to enter 2, 4, 6, 8 or for 4 the user is allowed to enter 1, 5, 7.
IF the security code to enter is 1478 and if the user enters 1178 he should be allowed.
Write a function to take security code from the user and print out if he should be allowed or not| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Coding - 1of 1 vote
AnswersWrite a program to generate all palindrome dates by taking the beginning and the ending dates as an input from the user. The format of the date is given as MMDDYYYY.
- lucky March 21, 2012 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 1of 1 vote
AnswersColorful Number:
- nafisah.islam October 26, 2014 in United States
A number can be broken into different sub-sequence parts. Suppose, a number 3245 can be broken into parts like 3 2 4 5 32 24 45 324 245. And this number is a colorful number, since product of every digit of a sub-sequence are different. That is, 3 2 4 5 (3*2)=6 (2*4)=8 (4*5)=20 (3*2*4)= 24 (2*4*5)= 40
But 326 is not a colorful number as it generates 3 2 6 (3*2)=6 (2*6)=12.
You have to write a function that tells if the given number is a colorful number or not.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Problem Solving - 1of 1 vote
AnswersGiven a array
- phoenix September 19, 2014 in United States
{{ 4,7,3,6,7}}
construct a triangle like
{{81}}
{{40,41}}
{{21,19,22}}
{{11,10,9,13}}
{{ 4,7,3,6,7}}| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 1of 1 vote
AnswersGiven a NXN matrix, starting from the upper left corner of the matrix start printing values in a counter-clockwise fashion.
- Anon October 13, 2014 in United States
Eg: Consider N = 4
Matrix= {a, b, c, d,
e, f, g, h,
i, j, k, l,
m, n, o, p}
Your function should output: dcbaeimnoplhgfjk
Another example would be
C I P E
R N K U
U O W O
L E S Y
The function should print: EPICRULESYOUKNOW| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 1of 1 vote
AnswersThe cows and bulls game, Player A chooses a word and player B guesses a word. You say bulls when a character in the player B's guess match with a character in player A's word and also it is in the corect position as in A's word. You say cows, when a character in the player B's word match the character in player A, but it is not in the correct position. The characters are case insensitive. Given two words player A's and player B's,Write a function that return the number of bulls and no of cows. For example,
- VB November 09, 2014 in United States
A - Picture B- Epic, bulls -0, cows - 4
A - forum B - four, bulls - 3 cows - 1| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 1of 1 vote
AnswersWe have 'n' patients and 'm' problems. The problems are of boolean type. Eg diabetes problem would be 'T' if a patient has it or 'F' otherwise. Suggest the data structure you would store this scenario on?
- Anon October 01, 2014 in United States
Q: We have a set of problems {diabetes, liver disease, kidney disease} find all the patients who have at least the 3 problems from the set.
The number of patients can be huge (n).
The number of problems not comparatively huge (m).
Which would be the best data structure to store these kind of records, so that we have a better search time.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Data Structures - 1of 1 vote
AnswersLet the user enter a decimal number. The range allowed is 0.0001 to 0.9999. Only four decimal places are allowed. The output should be an irreducible fraction.
- pkala April 25, 2014 in United States
Eg: If the user enters 0.35, the irreducible fraction will be 7/20.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 1of 1 vote
AnswersYou need to generate all possible permutations of phone numbers of a certain length, except
- apil.tamang.backup April 02, 2015 in United States
a) two digits can not be next to each other,
b) cannot contain digits from a given list of exclusion
c) if number contains 4, must start with 4 as well.| Report Duplicate | Flag | PURGE
Epic Systems Jr. Software Engineer - 1of 1 vote
AnswersAn updated tic tac toe game: n*n matrix, two users: X and O. If 3 respective marks together(no mater: vertical, horizontal, diagonal ) will win 1 point; For user X, 6 respective marks together will win 3 points; For user O, 8 respective marks together will win 6 points, check who win.
- jkmejdch March 19, 2013 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer Intern Algorithm - 1of 1 vote
AnswersGiven a number such as 123 having digits 1,2 and 3.
- trnvshisth March 29, 2015 in India
Now Product of Number and its digits is = 123*1*2*3 = 768. Now 123 is the seed number for 768. You would be given a number and you have to identify whether any seed element exists for that number. for Ex: - 4977 has two such seed numbers 79 and 711. You have to print both.| Report Duplicate | Flag | PURGE
Epic Systems Member Technical Staff - 1of 1 vote
AnswersWrite a program for a word search. If there is an NxN grid with one letter in each cell. Let the user enter a word and the letters of the word are said to be found in the grid either the letters match vertically, horizontally or diagonally in the grid. If the word is found, print the coordinates of the letters as output.
- Tony April 16, 2015 in United States| Report Duplicate | Flag | PURGE
Epic Systems Java Developer Algorithm - 1of 1 vote
AnswersYou are working on an exam and the question is smudged and you can’t see the question. Based on the answers only, what is the answer? I am not certain if I remember the question exactly, but it is some variation of these statements .
- lucky March 21, 2012 in United States
A) All of the below
B) None of the below
C) Some of the above
D )None of the above
E )None of the above| Report Duplicate | Flag | PURGE
Epic Systems - 1of 1 vote
AnswersThere is a game they termed as Mingo. A random generator (like a speaker standing in a group housie game calls out a number) generates out any number from 1 to 1000.
- sfd12 January 11, 2012 in United States
There is a 10X10 matrix. A random generator assigns values to each block of this matrix(within 1 to 1000 obviously).
Whenever, a row or a column or a diagonal is fully filled in this 10x10 from the numbers called out by the speaker, its called a 'Mingo'.
Write a program that will find first Mingo, then second Mingo, then thirds Mingo...and so forth.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 1of 1 vote
AnswersThe Mingo game:
- ram March 10, 2015 in United States
The game of Mingo involves a 100 X 100 board with unique positive whole numbers in the range from 1 to 1,000,000 randomly distributed in the cells. Unique numbers are "called" one at a time and the goal is to have a "Mingo", which is an entire row or column of cells with numbers that have been called; one might also form a diagonal from corner to corner with numbers that have been called. Write a function that takes as parameters a square array of 100 X 100 positive whole numbers and list of "called" numbers. Your function will report whether a "Mingo" occurs, and after how many called numbers the first Mingo occurs. You may assume valid input.| Report Duplicate | Flag | PURGE
Epic Systems Software Developer Matrix - 1of 1 vote
AnswersPrepare a presentation on a project that you believe is the most challenging project that you have undertaken , explain the concept , approach , algorithm .. this presentation lasted for 30 + mins. in which mainly the interviewee does the talking.
- Anonymous April 23, 2010
Epic is based a lot on luck than skill as in microsoft , amazon and bloomberg... since there would be an HR interview, and a programming test to be done on pen and paper , a quantative test which is simply high school math, a 2 min test on analytical skills , diagrams , series etc, and a test on basic concepts like variables , arrays ...(which is designed for people with non programming back ground).
All my rounds were flawless.. still got a reject.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Behavioral - 1of 1 vote
Answers‘ means not. It converts a character to null in a string but converts the character to 0 in an operation
- amazon August 10, 2012 in United States
‘5 means null whereas ‘5+1=1
Which one of these is true?
Cannot recall the options; they all appeared false.
I put the last option, but couldn’t figure it out.
‘(‘5)=0?| Report Duplicate | Flag | PURGE
Epic Systems None None Behavioral - 1of 1 vote
Answerfind if the given set of elements 2,4,3 form a colorful number?
- joe sturridge March 05, 2015 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Developer Algorithm - 1of 1 vote
AnswerMaths and logic sections very common problems like if one person leaves at this time and other at this time, what time will they meet. BRING A CALCULATOR to solve these. Just simple calci.
- sfd12 January 11, 2012 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 1of 0 votes
AnswersThe program would take as input the amount the customer
- backbone May 06, 2008
gives and outputs how many 1 cent coins, 5 cent coins, 10 cent coins , 25 cent coins and $1 bill you need to give out.
2.88 cents
void printChange(float amountToReturn)
{
int atr = amountToReturn;
cout<<"Nos of $1 Bills : "<<atr;
amountToReturn -= ((float) atr);
atr = (amountToReturn * 100.0);
cout<<"25 Cents : "<<(atr / 25);
atr %= 25;
cout<<"10 Cents : "<<(atr / 10);
atr %= 10;
cout<<"5 Cents : "<<(atr / 5);
atr %= 5;
cout<<"1 Cents : "<<atr;
}
//Each day $10
//75 miles free per day. $0.25 per extra mile
//ChildSeat : max 2. Each $25
float CarRentAmount(int days, int miles, int childSeat)
{
float amt = 0.0;
if(days <= 0)
{
cout<<"Invalid nos of days\n";
return amt;
}
if(miles <= 0)
{
cout<<"Invalid nos of miles\n";
return amt;
}
if(childSeat < 0 || childSeat > 2)
{
cout<<"Invalid nos of children seat\n";
return amt;
}
amt = ((float) days) * 10.0;
float allowedMiles = 75.0 * ((float) days);
if(((float) miles) > allowedMiles)
amt += (((float) miles) - allowedMiles) * 0.25;
amt += ((float) childSeat) * 25.0;
cout<<"Total amount to Pay : "<<amt;
return amt;
}
-----------------------------------------------------------------------------------------------------------------
//check password, only 'm' mistakes accepted
//return 1 : code accepted
//else code not accepted
int verifyCode(char input[], char orig[], int m)
{
int miss = 0;
int len = strlen(orig);
if(strlen(input) != len)
{
cout<<"Invalid code\n";
return 0;
}
if(m < 0)
{
cout<<"Invalid mistake allowance\n";
return 0;
}
for(int i = 0;i < len;i++)
{
char origchar = orig[i];
char inpchar = input[i];
if(origchar != inpchar)
{
switch(origchar)
{
char '1' : if(inpchar != '2' && inpchar != '4') return 0;
miss++;
break;
char '2' : if(inpchar !| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 0of 2 votes
AnswersGiven a certain range, produce all numbers in that range that fit the criteria. The criteria is as follows:
- blue60598 February 13, 2015 in United States
a number that starts with 2 of the same number, and then the sum of the previous 2 is that of the next number, and etc. For example:
112358, 121224, 448| Report Duplicate | Flag | PURGE
Epic Systems Software Developer Algorithm - 0of 2 votes
Answerswrite a prog/method to convert number to character (as in old mobile phone).
- Anonymous May 03, 2015 in United States
e.g. 2 entered 1 = A
2 entered 2 = B
2 entered 3 = C
# = space
22#22 = B B etc.| Report Duplicate | Flag | PURGE
Epic Systems Java Developer Algorithm - 0of 2 votes
AnswersI don't have questions but do not apply here if you have other offers. I am Epic's employee and they will tell you that you will work on C# but the chances of that happening is like 1% for the next 2 years. HTH.
- Guest January 16, 2011| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer General Questions and Comments - 0of 2 votes
AnswersJumper Game: A NxN grid which contains either of 0-empty, 1 - player1, 2 - player 2. Given a position in the grid, find the longest jump path. For jump path, you can horizontally or vertically, you can jump on opponent cell and also the landing cell should be empty. No opponent cell can be jumped more than once. Write a function which takes grid and a specific position in the grid, and returns the longest possible number of jumps in the grid.
- VB November 09, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 0of 2 votes
AnswersThere are two coins that make 55 cents. If one of them is not nickle then what are the two coins?
- nafisah.islam October 26, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Math & Computation - 0of 2 votes
AnswersThe decimal and octal values of some numbers are both palindromes sometimes. Find such numbers within a given range.
- hpfan1 October 18, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 0of 0 votes
AnswersDetermine whether a number is colorful or not. 263 is a colorful number because (2,6,3,2x6,6x3,2x3x6) are all different whereas 236 is not because (2,3,6,2x3,3x6,2x3x6) have 6 twice. So take all consecutive subsets of digits, take their product and ensure all the products are different
- Anonymo January 18, 2012 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 0of 0 votes
AnswersFind all the possible passwords, given the length of the password and that it is a well ordered number (159 is well-ordered as 1<5<9)
- S.A.M March 10, 2012 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Java - 0of 0 votes
AnswersThere is a security keypad at the entrance of a building. It has 9 numbers 1 - 9 in a 3x3 matrix format.
- Anonymous May 25, 2010
1 2 3
4 5 6
7 8 9
The security has decided to allow one digit error for a person but that digit should be horizontal or vertical. Example: for 5 the user is allowed to enter 2, 4, 6, 8 or for 4 the user is allowed to enter 1, 5, 7. IF the security code to enter is 1478 and if the user enters 1178 he should be allowed. Write a function to take security code from the user and print out if he should be allowed or not| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Data Structures - 0of 0 votes
AnswersVerify if the given password is valid/invalid;
- S.A.M March 10, 2012 in United States
1. must be 5-12 characters long
2. must contain atleast one number and one lowercase character
3. a sequence must not be followed by the same sequence (like 123123qs is invalid, 123qs123 is valid)| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Java