Gojek Coding Interview Questions
25 Gojek coding interview problems with full optimal solutions — 12 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 Gojek interviewer values, and a FAQ section.
Showing 10 problems of 25
- #13mediumfoundational
13. Add Two Numbers
Add two non-negative integers stored as linked lists in reverse digit order and return the sum as a list.
- #14mediumfoundational
14. Longest Substring Without Repeating Characters
Find the length of the longest substring of a string that contains no repeated characters.
- #15mediumfoundational
15. Longest Palindromic Substring
Return the longest substring of s that is a palindrome.
- #16mediumfoundational
16. Container With Most Water
Pick two vertical lines on a number line that together hold the most water and return that area.
- #17mediumfoundational
17. 3Sum
Return all unique triplets in the array that sum to zero.
- #18mediumfoundational
18. Letter Combinations of a Phone Number
Return every possible letter combination the digit string could represent on a phone keypad.
- #19mediumfoundational
19. Remove Nth Node From End of List
Remove the nth node from the end of a singly linked list in one pass.
- #20mediumfoundational
20. Generate Parentheses
Generate all combinations of n pairs of well-formed parentheses.
- #21mediumfoundational
21. Search in Rotated Sorted Array
Search for a target in a sorted array that has been rotated around some pivot, in logarithmic time.
- #22mediumfoundational
22. Permutations
Return all possible permutations of an array of distinct integers.