Goldman Sachs Interview Question: How would you get the last wo... | Glassdoor

Interview Question

Summer Technology Analyst Interview New York, NY

How would you get the last word of a sentence in

  UNIX/command line?

Interview Answer

1 Answer


Struggled a little, but interviewer gave me a hint. Reverse the sentence, use "awk".

Interview Candidate on Feb 20, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.