Given a website with multiple webpages and numerous users accessing it, where each user has a specific access pattern (e.g., user 1: x->y->z->a->b->c->d->e->f, user 2: z->a->b->c->d, etc.), determine the top 3 most frequently occurring k-page sequences. For example, with k=3, the result for the provided access patterns would be: a->b->c, b->c->d, z->a->b.
Anonymous
1y
(K=3)y->a a->b->c b->c->d
Ajmal Abdul Bari
3y
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...
Amazon Software Developer interview questions & answers
A Software Developer was asked 1mo agoQ. What is HTML?
A Software Developer was asked 1mo agoQ. What is MySQL?
A Software Developer was asked 1mo agoQ. What is the full form of URL?
Popular interview questions of Software Developer
A Software Developer was asked 1mo agoQ1. What is HTML?
A Software Developer was asked 1mo agoQ2. What is MySQL?
A Software Developer was asked 2mo agoQ3. Given two strings s and t, return true if they are equal when both are typed int...read more
Top HR questions asked in Amazon Software Developer
A Software Developer was asked 1mo agoQ1. Tell me about a time you had to get to the root cause of a problem
A Software Developer was asked 5mo agoQ2. What are the short-term and long-term goals for the team or organization?
A Software Developer was asked 5mo agoQ3. Why do you want to work at Amazon?
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

