Tony
BAN USER
- 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 in United States| Report Duplicate | Flag | PURGE
Epic Systems Java Developer Algorithm - 0of 0 votes
Answersyou can go to a fast food restaurant to buy chicken nuggets in 6-pack, 9-pack or 20-packs. is there such a number N, such that for all numbers bigger than or equal to N, you can buy that number of chicken nuggets?
- Tony in United States| Report Duplicate | Flag | PURGE
Epic Systems Developer Program Engineer Algorithm - 0of 0 votes
AnswersThis is on Additive Number Property
- Tony in United States
Additive Number examples:
123459 (1+2=3, 4+5=9)
314538 (3+1=4, 5+3=8)
122436 (12+24=36)
You are given a range, you need to print all the additive numbers.| Report Duplicate | Flag | PURGE
Epic Systems Developer Program Engineer Algorithm
Java Code
public static void main(String[] args) {
String string="epic is a healthcare company";
printVertical(string);
}
public static void printVertical(String input){
Queue<String> stringQueue=new LinkedList<String>();
String [] string=input.split(" ");
for (int i = 0; i <string.length ; i++) {
stringQueue.add(string[i]);
}
for (int i = 0; i <string.length ; i++) {
String stringPrint=stringQueue.poll();
System.out.printf("%s\n",stringPrint);
}
RepMarryJohan, Consultant at ASAPInfosystemsPvtLtd
I am successfully manage and coordinate graphic design projects from concept through completion. Create and conduct highly persuasive sales and ...
RepMiraDavis, Computer Scientist at Accenture
I am School librarian and also teach students the fundamentals of using a library and its resources .I write and ...
Repsujijaa565, AT&T Customer service email at ABC TECH SUPPORT
My name is suji. I am working as a Suadela Investment in Tulsa USA . I identify and establish a new ...
Repamysamson688, Accountant
Hi, I am an art teacher, good in all areas of art history, from ancient art through to contemporary art ...
Repelmothure, Backend Developer at ABC TECH SUPPORT
Social work is a practice-based profession that promotes social change, development, cohesion and the empowerment of people and communities. Social ...
Repmarybritt, Android Engineer at Centro
I am Mary from Wilmington. I am working as a Graphic Designer in Super Enterprises. I also write articles and ...
Rep
Repsusiejcrider, Member Technical Staff at Accolite software
I was a Communications Consultant with experience in working across various clients .technology, consumer, hospitality, financial services and corporate social ...
Hi VJ,
- Tony April 07, 2015if the input is (0,9999999), it will turn out a bug(NumberFormatException). Could you fix it?