Android Developer Intern Interview Questions

8,366 android developer intern interview questions shared by candidates

Example problem from Codility: Given a number X in base -2 as an array A of integers return -X in base -2 represented as array of integers. Base -2 means that X = sum{A[i] * (-2)^i} Examples: 1) Given: X=9, input [1, 0, 1, 1] Result: -X=-2, output [1, 1, 0, 1] 2) Given: X=-23, input [1, 0, 0, 1, 1] Result: -X=23, output [1, 1, 0, 1, 0, 1, 1]
avatar

Android Developer

Interviewed at Toptal

3.8
Dec 28, 2017

Example problem from Codility: Given a number X in base -2 as an array A of integers return -X in base -2 represented as array of integers. Base -2 means that X = sum{A[i] * (-2)^i} Examples: 1) Given: X=9, input [1, 0, 1, 1] Result: -X=-2, output [1, 1, 0, 1] 2) Given: X=-23, input [1, 0, 0, 1, 1] Result: -X=23, output [1, 1, 0, 1, 0, 1, 1]

Viewing 8131 - 8140 interview questions

Glassdoor has 8,366 interview questions and reports from Android developer intern interviews. Prepare for your interview. Get hired. Love your job.