← Cisco questions
CodingReported in a candidate post, May 2021

Set memory location, reverse words, and quad sum

Filed under Cisco

Implement functions to reverse the words in a given string in-place, and find all unique quadruples (a, b, c, d) such that a^2 + b^2 = c^2 + d^2 for 1 <= a, b, c, d <= N.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Cisco questions

Collected from public candidate posts and coding forums. Updated Nov 2026.