# Medianet Coding Interview Questions

> 33 DSA problems asked in Medianet coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

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

33 DSA problems tagged as asked in Medianet coding interviews and online assessments. Below are all 33: 3 easy, 15 medium and 15 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Medianet DSA problems, easiest first

1. [Climbing Stairs](https://www.internhack.in/learn/dsa/problem/climbing-stairs) (Easy)
2. [Maximum Value of an Ordered Triplet I](https://www.internhack.in/learn/dsa/problem/maximum-value-of-an-ordered-triplet-i) (Easy)
3. [Minimum Time Visiting All Points](https://www.internhack.in/learn/dsa/problem/minimum-time-visiting-all-points) (Easy)
4. [Count the Number of Square-Free Subsets](https://www.internhack.in/learn/dsa/problem/count-the-number-of-square-free-subsets) (Medium)
5. [Furthest Building You Can Reach](https://www.internhack.in/learn/dsa/problem/furthest-building-you-can-reach) (Medium)
6. [Jump Game IX](https://www.internhack.in/learn/dsa/problem/jump-game-ix) (Medium)
7. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
8. [Maximum Value of an Ordered Triplet II](https://www.internhack.in/learn/dsa/problem/maximum-value-of-an-ordered-triplet-ii) (Medium)
9. [Minimum Cost to Buy Apples](https://www.internhack.in/learn/dsa/problem/minimum-cost-to-buy-apples) (Medium)
10. [Minimum Number of Valid Strings to Form Target I](https://www.internhack.in/learn/dsa/problem/minimum-number-of-valid-strings-to-form-target-i) (Medium)
11. [Minimum Total Space Wasted With K Resizing Operations](https://www.internhack.in/learn/dsa/problem/minimum-total-space-wasted-with-k-resizing-operations) (Medium)
12. [Most Stones Removed with Same Row or Column](https://www.internhack.in/learn/dsa/problem/most-stones-removed-with-same-row-or-column) (Medium)
13. [Queens That Can Attack the King](https://www.internhack.in/learn/dsa/problem/queens-that-can-attack-the-king) (Medium)
14. [Queue Reconstruction by Height](https://www.internhack.in/learn/dsa/problem/queue-reconstruction-by-height) (Medium)
15. [Recover Binary Search Tree](https://www.internhack.in/learn/dsa/problem/recover-binary-search-tree) (Medium)
16. [Spiral Matrix](https://www.internhack.in/learn/dsa/problem/spiral-matrix) (Medium)
17. [Sum of Remoteness of All Cells](https://www.internhack.in/learn/dsa/problem/sum-of-remoteness-of-all-cells) (Medium)
18. [Time Needed to Inform All Employees](https://www.internhack.in/learn/dsa/problem/time-needed-to-inform-all-employees) (Medium)
19. [Difference Between Maximum and Minimum Price Sum](https://www.internhack.in/learn/dsa/problem/difference-between-maximum-and-minimum-price-sum) (Hard)
20. [Find Maximum Non-decreasing Array Length](https://www.internhack.in/learn/dsa/problem/find-maximum-non-decreasing-array-length) (Hard)
21. [Kth Smallest Number in Multiplication Table](https://www.internhack.in/learn/dsa/problem/kth-smallest-number-in-multiplication-table) (Hard)
22. [Make the XOR of All Segments Equal to Zero](https://www.internhack.in/learn/dsa/problem/make-the-xor-of-all-segments-equal-to-zero) (Hard)
23. [Making A Large Island](https://www.internhack.in/learn/dsa/problem/making-a-large-island) (Hard)
24. [Maximum Genetic Difference Query](https://www.internhack.in/learn/dsa/problem/maximum-genetic-difference-query) (Hard)
25. [Maximum Segment Sum After Removals](https://www.internhack.in/learn/dsa/problem/maximum-segment-sum-after-removals) (Hard)
26. [Maximum XOR of Two Non-Overlapping Subtrees](https://www.internhack.in/learn/dsa/problem/maximum-xor-of-two-non-overlapping-subtrees) (Hard)
27. [Minimum Operations to Form Subsequence With Target Sum](https://www.internhack.in/learn/dsa/problem/minimum-operations-to-form-subsequence-with-target-sum) (Hard)
28. [Minimum XOR Sum of Two Arrays](https://www.internhack.in/learn/dsa/problem/minimum-xor-sum-of-two-arrays) (Hard)
29. [Russian Doll Envelopes](https://www.internhack.in/learn/dsa/problem/russian-doll-envelopes) (Hard)
30. [Sliding Window Maximum](https://www.internhack.in/learn/dsa/problem/sliding-window-maximum) (Hard)
31. [The Number of Good Subsets](https://www.internhack.in/learn/dsa/problem/the-number-of-good-subsets) (Hard)
32. [Trapping Rain Water](https://www.internhack.in/learn/dsa/problem/trapping-rain-water) (Hard)
33. [Trapping Rain Water II](https://www.internhack.in/learn/dsa/problem/trapping-rain-water-ii) (Hard)

## Prepare for the rest of the Medianet process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

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