Innodata interview question

Subnets