MercadoLibre Coding Interview Questions
26 MercadoLibre coding interview problems with full optimal solutions — 13 easy, 10 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an MercadoLibre interviewer values, and a FAQ section.
Showing 13 problems of 26
- #1easyfoundational
1. Two Sum
Find two indices in an array whose values sum to a target.
- #2easyfoundational
2. Valid Parentheses
Determine if a string of brackets is properly matched and nested.
- #3easyfoundational
3. Merge Two Sorted Lists
Merge two sorted linked lists into one sorted list.
- #4easyfoundational
4. Remove Duplicates from Sorted Array
Remove duplicates from a sorted array in place and return the new length.
- #5easyfoundational
5. Remove Element
Remove all occurrences of a value from an array in place.
- #6easyfoundational
6. Search Insert Position
Find the index where a target should be inserted in a sorted array.
- #7easyfoundational
7. Plus One
Add one to a number represented as an array of digits.
- #8easyfoundational
8. Merge Sorted Array
Merge two sorted arrays in place into the first one.
- #9easyfoundational
9. Same Tree
Decide whether two binary trees are structurally identical with equal node values.
- #10easyfoundational
10. Maximum Depth of Binary Tree
Compute the depth of the deepest leaf in a binary tree.
- #11easyfoundational
11. Best Time to Buy and Sell Stock
Find the largest single buy-then-sell profit from a price series.
- #12easyfoundational
12. Single Number
Find the integer that appears exactly once when every other appears twice.
- #13easyfoundational
13. Linked List Cycle
Detect whether a singly linked list contains a cycle.