Thoughtworks interview question

What data structure to use for Smartphone lock screen

Interview Answers

Anonymous

26 Aug 2016

Graph data structure can be used, which consists of vertices, edges and x,y relation between vertices

Anonymous

25 Oct 2016

graph (gesture) datastructure

Anonymous

26 Oct 2017

A Unidirectional Graph Datastructure

Anonymous

25 Aug 2016

A 3x3 2D array?, just store the sequence in which the blocks have to be selected