← SAP questions
CodingReported in a candidate post, Jul 2018

Power of 2 Array and OOPS Inheritance

Filed under SAP

Given an integer array, return a new array where each element is 1 if the corresponding element in the input is a power of 2, and 0 otherwise. Also demonstrate object-oriented inheritance by…

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 SAP questions

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