Back to Interview Hub

DSA Questions

Data Structures and Algorithms for coding interviews.

Showing 1-6 of 83 questions

1 / 14
1QuestionsHard🔥 98% Asked

What is metadata API?

Asked in:UberPaytmMicrosoftWalmart

In App Router, metadata API defines title, description, Open Graph, robots, and canonical SEO metadata in layouts/pages.

Page 5

Note: You might also find it helpful to discover the Invisible Notepad or checkout our Windows Apps.

2QuestionsEasy🔥 56% Asked

Array vs linked list?

Asked in:AmazonWipro

Array stores contiguous elements and provides O(1) index access. Linked list stores nodes with pointers, easy insertion/deletion if

node is known, but O(n) search.

3QuestionsEasy🔥 62% Asked

Stack vs queue?

Asked in:UberLinkedInGoogleStripe

Stack is LIFO, queue is FIFO. Stack examples: undo, recursion. Queue examples: task scheduling, BFS.

4QuestionsEasy🔥 36% Asked

What is Big O?

Asked in:StripeGoogle

Big O describes how runtime or memory grows with input size. It helps compare algorithm scalability.

5QuestionsMedium🔥 78% Asked

Two pointer technique?

Asked in:LinkedInRazorpayPaytmGoogle

Use two indexes moving through data to solve problems like pair sum, reverse, merge sorted arrays, and remove duplicates

efficiently.

6QuestionsMedium🔥 61% Asked

Sliding window?

Asked in:PaytmStripe

Used for subarray/substring problems where a window expands and shrinks to maintain a condition.