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 18, 2021February 18, 2021
  • LeetCode

LeetCode 1678. Goal Parser Interpretation

Description https://leetcode.com/problems/goal-parser-interpretation/ You own a Goal Parser that can interpret a string command. The command consists of an alphabet of “G”, “()” and/or “(al)” in some order. The Goal Parser…

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

LeetCode 1281. Subtract the Product and Sum of Digits of an Integer

Description https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/ Given an integer number n, return the difference between the product of its digits and the sum of its…

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

LeetCode 1089. Duplicate Zeros

Description https://leetcode.com/problems/duplicate-zeros/ Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note…

Continue Reading
  • Posted on February 16, 2021February 16, 2021
  • Database

LeetCode 1484. Group Sold Products By The Date

Description https://leetcode.com/problems/group-sold-products-by-the-date/ SQL Schema Table Activities: +————-+———+ | Column Name | Type | +————-+———+ | sell_date | date | | product…

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

LeetCode 1528. Shuffle String

Description https://leetcode.com/problems/shuffle-string/ Given a string s and an integer array indices of the same length. The string s will be shuffled such that the character at the ith position…

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

LeetCode 1342. Number of Steps to Reduce a Number to Zero

Description https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/ Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number…

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

LeetCode 1603. Design Parking System

Description https://leetcode.com/problems/design-parking-system/ Design a parking system for a parking lot. The parking lot has three kinds of parking spaces: big,…

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

LeetCode 1512. Number of Good Pairs

Description https://leetcode.com/problems/number-of-good-pairs/ Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. Example 1: Input: nums = [1,2,3,1,1,3]…

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

LeetCode 1365. How Many Numbers Are Smaller Than the Current Number

Description https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/ Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is,…

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

LeetCode 1476. Subrectangle Queries

Description https://leetcode.com/problems/subrectangle-queries/ Implement the class SubrectangleQueries which receives a rows x cols rectangle as a matrix of integers in the constructor and supports two…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 36 Page 37 Page 38 … 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