All Questions
16 questions
1
vote
1
answer
2k
views
C# Coffee Machine
I saw this post and tried to do my attempt. This is the requirement of task:
Design a coffee machine which makes different beverages based on set
ingredients. The initialization of the recipes for ...
7
votes
3
answers
896
views
Inventory coding interview exercicse
This past week, I had a coding interview where I have failed badly. The feedback that I get from the recruiter was that my code reminded the team of older ways of coding in C#. This led them to ...
7
votes
3
answers
1k
views
Rock Paper Scissors coding challenge
I did a job application to a Unity developer position and i was given a coding challenge which was implementing a Rock Paper Scissors game or a variation of it. I have implemented the game using Unity ...
1
vote
1
answer
116
views
News-reading application using the Observer pattern
I have found this question online from an Amazon interview:
Design a kind of Kindle Fire application where we can subscribe to a news
channel and read the news from all publishers as a digital ...
6
votes
3
answers
4k
views
OOP Chess design job interview practice
please comment on game flow, Solid principle and OOP concepts.
...
7
votes
3
answers
3k
views
Object-oriented Bank class
I am quite new to programming and was given an assignment in a job recruitment(now finished) to program a simple Bank class and other relevant classes based on this interface:
...
6
votes
1
answer
4k
views
Pacman OOP design - coding interview
I was asked to give a high level design of Pacman. Please review the OOP design, this is not a full implementation. only the design is important here.
Please comment if the design is missing anything....
5
votes
2
answers
350
views
Program to model stress on furniture
I found this question in Glassdoor and CareerCup, this is an OOP design question.
Many people claim to have solved it using different design patterns.
I think It can be solved either with bridge ...
4
votes
1
answer
3k
views
Create shapes in a console
I've done a job interview assignment on shapes (surprising ah?!) which is a C# console application which creates a list of shapes basically. It's available here, but for my question the only relevant ...
8
votes
2
answers
5k
views
Hackerrank - value of friendship (II)
Problem statement
You're researching friendships between groups \$n\$ of new college students where each student is distinctly numbered from \$1\$ to \$n\$. At the beginning of the semester, no ...
12
votes
3
answers
6k
views
Building car factory with custom features per car
I was once asked in an interview to build a factory that makes cars.
All cars has common features like price, rating and color and they have some features like fuel injection which can on specific car ...
16
votes
8
answers
8k
views
Find the first non-repeating character in a string: ("DEFD" → E)
I recently had an interview and got to phase 2 which is a coding assessment. One of the questions was:
Find the first non-repeating character in a string: ("DEFD" --> E)
I didn't pass the coding ...
13
votes
7
answers
6k
views
Scoring a Scrabble Word
I was asked before an interview to create a console application that will work out the score of a word for the board game scrabble. It worked fine but the feedback I received said:
"there were no ...
60
votes
11
answers
14k
views
Sales tax calculator, rejected for being not OOP
I applied for an Application Developer position. They require all their applicants to complete 1 of 3 programming assignments. I picked one for sales tax calculation. It was quite simple.
Write ...
23
votes
3
answers
10k
views
Interview task - SOLID Principle and TDD
I had a small technical C# task using SOLID principle and TDD. But I failed to prove my coding skill through the test.
Can anyone offer any small advice for me? I am really eager to learn what my ...