GoodTecher

Be a Good Techer and Tech for Good. www.goodtecher.com

Skip to content
Menu
  • Home
  • LeetCode
    • Array
    • Binary Search
    • Binary Tree
    • Depth First Search
    • Design
    • Dynamic Programming
    • Linked List
    • Math
    • Stack
    • String
    • Two Pointers
    • Union Find
  • Useful

Tag: Uber Interview Question

  • Posted on February 4, 2021February 4, 2021
  • LeetCode

LeetCode 225. Implement Stack using Queues

Description https://leetcode.com/problems/implement-queue-using-stacks/ Implement a last in first out (LIFO) stack using only two queues. The implemented stack should support all…

Continue Reading
  • Posted on February 4, 2021February 4, 2021
  • Array

LeetCode 349. Intersection of Two Arrays

Description https://leetcode.com/problems/intersection-of-two-arrays/ Given two arrays, write a function to compute their intersection. Example 1: Input: nums1 = [1,2,2,1], nums2 =…

Continue Reading
  • Posted on February 3, 2021February 3, 2021
  • Binary Search

LeetCode 441. Arranging Coins

Description https://leetcode.com/problems/arranging-coins/ You have a total of n coins that you want to form in a staircase shape, where every k-th row must…

Continue Reading
  • Posted on February 2, 2021February 2, 2021
  • LeetCode

LeetCode 151. Reverse Words in a String

Description https://leetcode.com/problems/reverse-words-in-a-string/ Given an input string s, reverse the order of the words. A word is defined as a sequence of non-space characters. The words in s will…

Continue Reading
  • Posted on January 31, 2021January 31, 2021
  • LeetCode

LeetCode 1099. Two Sum Less Than K

Description https://leetcode.com/problems/two-sum-less-than-k/ Given an array nums of integers and integer k, return the maximum sum such that there exists i < j with nums[i] + nums[j] = sum and sum <…

Continue Reading
  • Posted on January 30, 2021January 30, 2021
  • LeetCode

LeetCode 167. Two Sum II – Input array is sorted

Description https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/ Given an array of integers numbers that is already sorted in ascending order, find two numbers such that they add up…

Continue Reading
  • Posted on January 29, 2021January 29, 2021
  • Array

LeetCode 1086. High Five

Description https://leetcode.com/problems/high-five/ Given a list of the scores of different students, items, where items[i] = [IDi, scorei] represents one score from a student…

Continue Reading
  • Posted on January 28, 2021January 28, 2021
  • LeetCode

LeetCode 709. To Lower Case

Description https://leetcode.com/problems/to-lower-case/ Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1:…

Continue Reading
  • Posted on January 27, 2021January 27, 2021
  • Array

LeetCode 1480. Running Sum of 1d Array

Description https://leetcode.com/problems/running-sum-of-1d-array/ Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum…

Continue Reading
  • Posted on January 25, 2021January 25, 2021
  • Binary Tree

LeetCode 700. Search in a Binary Search Tree

Description https://leetcode.com/problems/swap-nodes-in-pairs/ You are given the root of a binary search tree (BST) and an integer val. Find the node in the BST…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 39 Page 40 Page 41 … Page 55 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (7)
  • LeetCode (588)
    • Array (185)
    • Backtracking (18)
    • Binary Search (19)
    • Binary Tree (63)
    • Bit Manipulation (15)
    • Database (40)
    • Depth First Search (6)
    • Design (10)
    • Dynamic Programming (17)
    • Graph (18)
    • Greedy (5)
    • Heap (1)
    • Linked List (26)
    • Math (36)
    • Recursion (3)
    • Sorting (11)
    • Stack (11)
    • String (95)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2025 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress