website having several web-pages. And also there are lot many user who are accessing the web-site. say user 1 has access pattern : x->y->z->a->b->c->d->e->f user 2 has access pattern : z->a->b->c->d user 3 has access pattern : y->z->a->b->c->d user 4 has access pattern : a->b->c->d and list goes on for lot many users which are finite and numbered. Now the question is we have to determine the top 3 most occurring k-Page-sequence. for the above example result will be : (k=3) a->b->c , b->c->d , z->a->b
Anonymous
1y
(K=3)y->a a->b->c b->c->d
Ajmal Abdul Bari
2y
The answer for the above given example is a->b->c.
Sharfuddin Shahbuddin Shaikh
3y
(k=3) y->z->a a->b->c b->c->d
Jaydeep Pithva
3y
(k=3)a->b->c
Add answer anonymously...
Top Amazon Software Developer interview questions & answers
Popular interview questions of Software Developer
Top HR questions asked in Amazon Software Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app