1-800-CODING-CHALLENGE
Many companies like to list their phone numbers using the letters printed on most telephones. This makes the number easier to remember for customers. An example may be 1-800-FLOWERS
This coding challenge is to write a program that will show a user possible matches for a list of provided phone numbers.
Your program should be a command line application that reads from files specified as command-line arguments or STDIN when no files are given. Each line of these files will contain a single phone number.
For each phone number read, your program should output all possible word replacements from a dictionary. Your program should try to replace every digit of the provided phone number with a letter from a dictionary word; however, if no match can be made, a single digit can be left as is at that point. No two consecutive digits can remain unchanged and the program should skip over a number (producing no output) if a match cannot be made.
Your program should allow the user to set a dictionary with the -d command-line option, but it's fine to use a reasonable default for your system. The dictionary is expected to have one word per line.
All punctuation and whitespace should be ignored in both phone numbers and the dictionary file. The program should not be case sensitive, letting "a" == "A". Output should be capital letters and digits separated at word boundaries with a single dash (-), one possible word encoding per line. For example, if your program is fed the number:
!2255.63
One possible line of output is
!CALL-ME
According to my dictionary.
The number encoding on the phone the program will use is:
DIGIT
CHARACTERS
2
A B C
3
D E F
4
G H I
5
J K L
DIGIT
CHARACTERS
6
M N O
7
P Q R S
8
T U V
9
W X Y Z
Hi,
I'm Abhijit Mondal from Bangladesh and my background is in Computer Science and Engineering at Bangladesh University of Engineering and Technology. I am an expert C++,Java and Android developer and I have 5 years of experience coding with these languages.
I have read the job description you provided above.I can do it within a short time
If I get the proper job description, I will start from right then working on it as I am completely free to work in next few weeks. I think it will be nice working for you.
Can help... I am an Expert... Lets Start!
Please start a Discussion with me and we can get started from there...
Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...
I am an IITK graduate, 9 year experienced software professional and I have got top notch developers in my team, who have got experience across a span of technologies. The members in my team have worked with top notch tech organization such as Amazon, Cisco, Oracle etc. We have been involved in similar projects in the past and our track record has been excellent.
hi !
I have read your requirements and i can help you with this , you need not to worry. As I am asoftware engineering student and have rich knowledge and experience of java and can implement a good Artificial intelligence for this program. your satisfaction would be my top priority and i hope you will admire my work. Give me a shot and i will not let you disappoint.
hope to meet you soon in chat box
thanks
Hey.. I am working in a MNC as a Java developer. I have checked the algo your program will require and hence I am pretty sure that you will get a quality product within reasonable timeline.
I have around 8 years of experience in Java/Spring/AWT/JAVAFX/Angular/Mongo/NodeJS/Oracle/SQL. I can help you in you project. You can expect some quality work on time from me.
I am looking forward to work with you. We can discuss about time and money later on.
Hey,
I'm taking an Engineer's Degree on Computer Science, currently in 3rd year. I am very familiar with Java design and implementation as the majority of my college's assignments are Java based. I consider myself to be very hard-working, methodical and professional, I take pride in my work so you can expect a top-notch delivery.
I am currently on a 1week college break so I can start immediatelly. Feel free to PM me for further information.
Best regards,
Ed
Hey , I have a very good proficiency in both english and hindi And i have strong knowledge of programming in c and c++. i have good practice of data structures and apart from that I am a software developer for one of India's leading E-commerce company. so i think i would be the right choice for this project .so this work shouldn't be a lot of work and your project will be delivered to you well within time.
Thanks.
I have solved this problem long back in one of my interview's hans on test, of course your scope is little high, I would like to work on this project. I can work on it in weekend and can complete by Sunday night.