SIG (Susquehanna)InternInternQuestion #51
Given a character array representing a sentence, reverse the order of words in the sentence in place.
Unlock the Full Solution
Enter your email to get the detailed step-by-step solution to this SIG (Susquehanna) interview question, plus access to free interview prep resources.
We'll also send you a free HFT mock interview video.
More SIG (Susquehanna) Intern Questions
Given an array of numbers, find the maximum value in the array.A frog is traveling from point A(0, 0) to point B(4, 6), and each step can only be 1 unit up or 1 unit to the right. The frog also refuses to move three steps in the same direction consecutively. Compute the number of ways the frog can move from A to B.If you are playing a game and your opponent doubles the stakes, what probability of winning should you require to prefer accepting the doubled stakes over resigning from the game?How many ways can five people sit in a circle such that you are sitting next to your best friend?It costs $1 to play a game where you flip a fair coin four times. If you get four consecutive heads, you win $10. Should you play the game?
Get All 120+ SIG (Susquehanna) Questions with Solutions
Plus 16+ hours of video lectures, resume tailoring, and 1:1 mentorship from quants.
Schedule a Call