Epic Systems Interview Questions
- 8of 8 votes
AnswersPrint all valid phone numbers of length n subject to following constraints:
- cee.el.dg January 17, 2013 in India
1.If a number contains a 4, it should start with 4
2.No two consecutive digits can be same
3.Three digits (e.g. 7,2,9) will be entirely disallowed, take as input| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Coding - 4of 10 votes
AnswersA man goes to a hardware shop and asks for price of an item. The shop keeper replies that the item is "one for $1".
- careercupuser May 19, 2014 in United States
The man gives the shop keeper "$3 for 600". What did the man buy for his newly painted house?| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Brain Teasers - 3of 5 votes
AnswersPrint all palindromes of size greater than equal to 3 of a given string. (DP)
- amnesiac February 15, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 3of 3 votes
AnswersFind the seed of a number.
- flash March 23, 2012 in United States
Eg : 1716 = 143*1*4*3 =1716 so 143 is the seed of 1716. find all possible seed for a given number.| Report Duplicate | Flag | PURGE
Epic Systems - 3of 3 votes
AnswersImplement LookAndSay function. For example, first, let user input a number, say 1. Then, the function will generate the next 10 numbers which satisfy this condition:
- Kevin February 22, 2013 in United States
1, 11,21,1211,111221,312211...
explanation: first number 1, second number is one 1, so 11. Third number is two 1(previous number), so 21. next number one 2 one 1, so 1211 and so on...| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 3of 0 votes
AnswersFunction which lists all the possible dates for given year.
- Ripul Patel May 09, 2008| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Coding - 2of 4 votes
AnswersGiven number of digits of a phone number and number of disallowed digits as input, find all permutations of numbers which do not have two adjacent numbers the same, i.e. 1232 is allowed but not 1223. Disallowed digits can be upto 3, and can be included along with the phone number. Also the phone number should start with 4 if it contains the number 4.
- hpfan1 October 18, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 2of 2 votes
AnswersThe stepping number:
- Anon October 13, 2014 in United States
A number is called as a stepping number if the adjacent digits are having a difference of 1. For eg. 8,343,545 are stepping numbers. While 890, 098 are not. The difference between a ‘9’ and ‘0’ should not be considered as 1.
Given start number(s) and an end number(e) your function should list out all the stepping numbers in the range including both the numbers s & e.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm Data Structures Dynamic Programming Java Online Test - 2of 2 votes
AnswersLength is given as input.Print all possible permutations of numbers between 0-9.
- bhavanisankara March 17, 2013 in United States
Eg: if input length=4
all possible combinations can be 0123, 1234, 5678,9864,...etc all combinations of length from in all numbers between 0-9| Report Duplicate | Flag | PURGE
Epic Systems Arrays - 2of 2 votes
Answers1.Substring Addition
- Stephie February 19, 2013 in United States
Write a program to add the substring
eg :say you have a list {1 7 6 3 5 8 9 } and user is entering a sum 16.Output should display (2-4) that is {7 6 3} cause 7+6+3=16.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 2of 2 votes
AnswersWrite a program to generate all prime numbers from 2 to N for any N value
- SHA.AN March 04, 2009| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Coding - 2of 2 votes
AnswersUser inputs a sequence of digits. Every digit is a keystroke, that is equivalent to some character out of a sequence of characters. Digit zero and five mean NULL. The table is given below
- ranechabria July 14, 2012 in United States
0 - NULL
1 - v, t, f, r, q
2 - f, t, k
3 - w, z, b, g
4 - r, s
5 - NULL
6 - f, i, r
7 - p
8 - l, o
9 - p
Generate all possible character sequence for a given sequence of digits.
Ex - If the user input 9801, your program should generate
{plv, plt, plf, plr, plq, pov, pot, pof, por, poq} (not necessarily in this order).
This problem is somewhat similar to the SMS problem. It basically boils down to generating a cartesian product of the character sets corresponding to keys.| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm Coding Data Structures - 2of 2 votes
AnswersYou can swap only two consecutive elements. You have to show all steps to convert a string into another string (both strings will be anagrams of each other). E.g. GUM to MUG
- codr December 21, 2013 in United States
GUM
GMU
MGU
MUG| Report Duplicate | Flag | PURGE
Epic Systems SDE1 Algorithm - 2of 2 votes
AnswersFind the largest sum contiguous sub array. The length of the returned sub array must be at least of length 2.
- phoenix September 19, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 2of 2 votes
Answersgiven an expression like 3*4 + 8-9 (only +, - , * operators) as a string evaluate it strictly from left to right
- boomla March 17, 2015 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 2of 2 votes
AnswersGiven a M * N matrix, if the element in thematrix is larger than other 8 elements who stay around it, then named thatelement be mountain point. Print all the mountain points.
- yylmaster November 13, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 2of 2 votes
AnswersThe buildings of an office are numbered sequentially. Person A is in building 1 and person B is in building 106. If A crosses 5 offices in a minute and B crosses 10 offices in a minute, at which office number will they both meet?
- pkala April 25, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 2of 2 votes
AnswersA bear have to climb a 60.5 feet long hill. It climbs 3 feet in every minute before it fall down for 2 feet. How long it will take to climb the hill?
- nafisah.islam October 26, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Math & Computation - 2of 2 votes
AnswersMutiplicative iteration.Assume letters are A=1,B=2....The number N=4 then A=1*4=4.If result is greater than 26 mod 26.Input a string and give a encrypted result as output.
- chutzpah February 11, 2015 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Developer - 2of 2 votes
AnswersDesign a Binary search tree using Epic as Input
- katenaomi247 April 27, 2015 in United States| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer Object Oriented Design - 2of 0 votes
AnswersA number is called 'desirable' if all the digits are strictly ascending eg: 159 as 1<5<9. You know that your rival has a strictly numeric password that is 'desirable'. Your close ally has given you the number of digits (N) in your rival's password. WAP th\hjtat takes in 'N' as input and prints out all possible 'desirable' numbers that can be formed with N digits.
- Anonymous October 19, 2008| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Coding - 1of 3 votes
AnswersIn 1-9 keypad one key is not working. If some one enters a password then not working key will not be entered. You have given expected password and entered password. Check that entered password is valid or not
- GOOGLE_SDE November 14, 2013 in United States
Ex: entered 164, expected 18684 (you need to take care as when u enter 18684 and 164 only both will be taken as 164 input)| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 1of 3 votes
AnswersN*N matrix is given with input red or black. You can move horizontally, vertically or diagonally. If 3 consecutive same color found, that color will get 1 point. So if 4 red are vertically then point is 2. Find the winner.
- amnesiac February 25, 2014 in United States| Report Duplicate | Flag | PURGE
Epic Systems Algorithm - 1of 3 votes
AnswersA program removes all non-numeric characters until it reaches a second non-numeric and then stops. "+3.4"=3
- amazon August 10, 2012 in United States
What would result when "1.2" was entered?
1 was not an option. 1.2 was not.
No answer was an option. Chose no answer.
I did pass the test with many "no answers".| Report Duplicate | Flag | PURGE
Epic Systems None None - 1of 1 vote
AnswersIf an N X N matrix is given, print it in spiral order.
- GKR April 07, 2013 in United States
Example: Below is 5 X 5 matrix
i l o v e
d i n t e
n i e e p
a v w r i
m a x e c
Print in spiral order. Output is iloveepicexamandinterview| Report Duplicate | Flag | PURGE
Epic Systems Algorithm C C++ C# Coding Java - 1of 1 vote
AnswersSMS Problem
- gowtham.n.mail November 25, 2011 in United States
1 - NULL, 2 - ABC, 3 - DEF, 4 - GHI, 5 - JKL, 6 - MON, 7 - PQRS, 8 - TUV, 9 - WXYZ, * - <Space>, # - <Break>
We must convert the numbers to text.
Eg
I/P - O/P
22 - B
23 - AD
223 - BD
22#2 - BA (# breaks the cycle)
3#33 - DE
2222 - 2
2222#2 - 2A
22222 - A (cycle must wrap around)
222222 - B| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer - 1of 1 vote
AnswersGiven n. Generate all numbers with number of digits equal to n, such that the digit to the right is greater than the left digit (ai+1 > ai). E.g. if n=3 (123,124,125,……129,234,…..789)
- codr December 26, 2013 in United States| Report Duplicate | Flag | PURGE
Epic Systems Algorithm - 1of 1 vote
Answersfind longest increasing sub sequence in 2d array.
- nagyuga August 22, 2012 in United States
(bit more expl..)
ex: finding length of the snake in snake game
---------
the sequence must not be diagonally.
but it can be any like top-bootm,bottom-left-top ........
increasing means one step
ex: 10,11,12,13 (correct)
12,14,15,20(wrong)
Ex: input: consider 4x4 grid
2 3 4 5
4 5 10 11
20 6 9 12
6 7 8 40
output : 4 5 6 7 8 9 10 11 12| Report Duplicate | Flag | PURGE
Epic Systems Software Development Manager Algorithm - 1of 1 vote
AnswersGiven the start and an ending integer as user input, generate all integers with the following property.
- lucky March 21, 2012 in United States
Example : 123 , 1+2 = 3 , valid number
121224 12+12 = 24 , valid number
1235 1+2 = 3 , 2+3 = 5 , valid number
125 1+2 <5 , invalid number| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm - 1of 1 vote
AnswersYou are given a grid of numbers. A snake sequence is made up of adjacent numbers such that for each number, the number on the right or the number below it is +1 or -1 its value. For example,
- T December 07, 2012 in United States
1 3 2 6 8
-9 7 1 -1 2
1 5 0 1 9
In this grid, (3, 2, 1, 0, 1) is a snake sequence.
Given a grid, find the longest snake sequences and their lengths (so there can be multiple snake sequences with the maximum length).| Report Duplicate | Flag | PURGE
Epic Systems Software Engineer / Developer Algorithm