Developer/Coding Interview Challenge #2

Developer/Coding Interview Challenge #2

ยท

2 min read

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:

  1. enigmatic

  2. anonymous unlimited

  3. 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:

  1. The brown fox sprung into the high mountains.

  2. 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?

  1. Please like this post if you are attempting to answer at least one of these challenge questions.

  2. Provide your answers in the comments here.

  3. Your answers can be directly in the comments or a link to the post with your answers on social media/GitHub.

  4. You can answer this with whatever your preferred coding language is.

  5. Feel free to Comment on others' answers and provide any helpful feedback.

ย