ShareChat interview question

1) How CodePush works ? 2) 2 Sum Problem