# Randomized DSA Problems

> 12 Randomized coding problems for placements and interviews, sorted easiest first, with hints and company tags. Free practice on InternHack.

Canonical: https://www.internhack.in/learn/dsa/randomized
Last updated: 2026-11-28

12 randomized problems for coding interviews and campus placements, with hints and company tags. Below are all 12: 0 easy, 9 medium and 3 hard. Practise them free on InternHack and track what you have solved.

## Randomized problems, easiest first

1. [Generate Random Point in a Circle](https://www.internhack.in/learn/dsa/problem/generate-random-point-in-a-circle) (Medium)
2. [Implement Rand10() Using Rand7()](https://www.internhack.in/learn/dsa/problem/implement-rand10-using-rand7) (Medium)
3. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
4. [Linked List Random Node](https://www.internhack.in/learn/dsa/problem/linked-list-random-node) (Medium)
5. [Random Flip Matrix](https://www.internhack.in/learn/dsa/problem/random-flip-matrix) (Medium)
6. [Random Pick Index](https://www.internhack.in/learn/dsa/problem/random-pick-index) (Medium)
7. [Random Pick with Weight](https://www.internhack.in/learn/dsa/problem/random-pick-with-weight) (Medium)
8. [Random Point in Non-overlapping Rectangles](https://www.internhack.in/learn/dsa/problem/random-point-in-non-overlapping-rectangles) (Medium)
9. [Shuffle an Array](https://www.internhack.in/learn/dsa/problem/shuffle-an-array) (Medium)
10. [Best Position for a Service Centre](https://www.internhack.in/learn/dsa/problem/best-position-for-a-service-centre) (Hard)
11. [Insert Delete GetRandom O(1) - Duplicates allowed](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1-duplicates-allowed) (Hard)
12. [Random Pick with Blacklist](https://www.internhack.in/learn/dsa/problem/random-pick-with-blacklist) (Hard)

## Companies that ask randomized problems

- [Google](https://www.internhack.in/learn/dsa/companies/google): 9 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 7 of these problems
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 6 of these problems
- [Uber](https://www.internhack.in/learn/dsa/companies/uber): 6 of these problems
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin): 5 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 5 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 4 of these problems
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok): 4 of these problems
- [Apple](https://www.internhack.in/learn/dsa/companies/apple): 3 of these problems
- [Citadel](https://www.internhack.in/learn/dsa/companies/citadel): 2 of these problems
- [Affirm](https://www.internhack.in/learn/dsa/companies/affirm): 2 of these problems
- [Peloton](https://www.internhack.in/learn/dsa/companies/peloton): 2 of these problems

## Before your interview

Most resumes are filtered by software before a recruiter reads them. [Check your resume ATS score free](https://www.internhack.in/ats-score/try), no signup needed.

## Other DSA topics

- [Array](https://www.internhack.in/learn/dsa/array) (1869)
- [String](https://www.internhack.in/learn/dsa/string) (775)
- [Hash Table](https://www.internhack.in/learn/dsa/hash-table) (708)
- [Math](https://www.internhack.in/learn/dsa/math) (564)
- [Dynamic Programming](https://www.internhack.in/learn/dsa/dynamic-programming) (557)
- [Sorting](https://www.internhack.in/learn/dsa/sorting) (464)
- [Greedy](https://www.internhack.in/learn/dsa/greedy) (407)
- [Depth-First Search](https://www.internhack.in/learn/dsa/depth-first-search) (314)
- [Binary Search](https://www.internhack.in/learn/dsa/binary-search) (298)
- [Matrix](https://www.internhack.in/learn/dsa/matrix) (246)
- [Breadth-First Search](https://www.internhack.in/learn/dsa/breadth-first-search) (245)
- [Bit Manipulation](https://www.internhack.in/learn/dsa/bit-manipulation) (238)
- [Tree](https://www.internhack.in/learn/dsa/tree) (235)
- [Two Pointers](https://www.internhack.in/learn/dsa/two-pointers) (217)
- [Prefix Sum](https://www.internhack.in/learn/dsa/prefix-sum) (204)
- [Database](https://www.internhack.in/learn/dsa/database) (197)
- [Heap (Priority Queue)](https://www.internhack.in/learn/dsa/heap-priority-queue) (196)
- [Simulation](https://www.internhack.in/learn/dsa/simulation) (177)
- [Counting](https://www.internhack.in/learn/dsa/counting) (174)
- [Binary Tree](https://www.internhack.in/learn/dsa/binary-tree) (169)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA](https://www.internhack.in/learn/dsa)
