Here we are again on Day 2 of our Interview coding challenge. As I'd expect you to be following our first post of this challenge, we continue with more. In today's coding challenge, we'll still keep it at four but will throw in some web development skills in the mix.
Before I move on, I'd like more people to participate in this, and more people to comment and perhaps get a conversation going, so please feel free to share each coding challenge with your friends, on your social media.
Unto it, we shall go ๐โโ๏ธ๐โโ๏ธ๐โโ๏ธ!
QUESTION 1
Software Development Life Cycle (SDLC)
a) What is the SDLC?
b) List the phases that divide the SDLC?
c) List the different SDLC Models?
d) TO THE MORE EXPERIENCED: What is your preferred SDLC Model? And why?
QUESTION 2:
As a web designer:
a) How do you set an image as the background of a web page?
b) Which color would you choose as a web designer when declaring a "delete" button?
QUESTION 3:
What is the difference between a framework and a library? Then, list one of each.
QUESTION 4: Coding Challenge
One of the easiest coding problems you would most generally come across is the reversing of a string.
A) SIMPLE: Given a string, write a function/method to reverse the string.
SAMPLE TEST CASES FOR SIMPLE:
enigmatic
anonymous unlimited
strong is the force within you
B) NOT-SO-SIMPLE: Given a string S of size N, return the string after reversing the string word by word.
NOTE:
i) A sequence of non-space characters constitutes a word.
ii) Your reversed string should not contain leading or trailing spaces, even if it is present in the input string.
iii) If there are multiple spaces between words, reduce them to a single space in the reversed string.
SAMPLE TEST CASES FOR NOT-SO-SIMPLE:
The brown fox sprung into the high mountains.
The big blue whale struggled to remove itself from the humans' net.
Well, that's it for today, again to remind you:
You can surely find the answers to the coding questions anywhere on the internet, but then what's the point of struggling it out yourself?
Please like this post if you are attempting to answer at least one of these challenge questions.
Provide your answers in the comments here.
Your answers can be directly in the comments or a link to the post with your answers on social media/GitHub.
You can answer this with whatever your preferred coding language is.
Feel free to Comment on others' answers and provide any helpful feedback.