Frage im Vorstellungsgespräch bei IXL Learning

function with byte array as input. determine if the last entry is a bit or byte