Google interview question - [ Implement touchscreen keyboard.]
Anonymous User
446

Hello Expertise ,

Recently this question asked in google but not sure sure about logic / implmentation , Can you please share your thoughts ?

Implement touchscreen keyboard. Given a coorndate (x, y), output the character.

example (x1,y1,x2,y2):

q = (0,0,1,1)
s = (3,1,4,2)
x--------------------->
y q w e r t y u i o p
| a s d f g h j k l
| z x c v b n m ,
v

The coordinate (0.5,0.5) should return character 'q'

Comments (4)