Reverse a string of words without using any in-built function.
Asked in the Round 1 DSA stage. Implement the logic yourself, without using built-in helpers such as split(), reverse(), or slicing shortcuts that directly reverse the string.
def reverse_words(s):
A single string s containing words separated by one or more spaces.
Return a string with the words in reverse order, separated by a single space.
def reverse_words(s):