Skip to content

Instantly share code, notes, and snippets.

Akinyele Olubodun akinyeleolubodun

Block or report user

Report or block akinyeleolubodun

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
public class Solution {
    public String reverseWords(String s) {
        s = s.trim();
        List<String> spl = split(s);
        StringBuilder sb = new StringBuilder();

        for(int i = spl.size() - 1; i >= 0; i--) {
You can’t perform that action at this time.