Write a recursive method called isReverse that accepts two strings as parameters and returns true if the two strings co

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Write a recursive method called isReverse that accepts two strings as parameters and returns true if the two strings co

Post by answerhappygod »

Write a recursive method called isReverse
that accepts two strings as parameters and
returns true if the two strings contain the same sequences of
characters as each other, but in the opposite order (ignoring
capitalization), and false otherwise. For example, the call
of isReverse(“hello”,”eLLoH”) would return true. The empty string,
as well as any one-letter string, is considered to be its own
reverse.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply