</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

57

:

45

Get this deal
Back to Dashboard

[CodeSignal] One-Hot Encoder

Easy

Given an integer array arr, return its one-hot encoded matrix as a 2D array.

In a one-hot encoding: ...