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 January 20, 2021January 20, 2021
  • Array

LeetCode 1464. Maximum Product of Two Elements in an Array

Description https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/ Given the array of integers nums, you will choose two different indices i and j of that array. Return the maximum value of(nums[i]-1)*(nums[j]-1). Example…

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

LeetCode 509. Fibonacci Number

Description https://leetcode.com/problems/fibonacci-number/ The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of the…

Continue Reading
  • Posted on November 8, 2020January 18, 2021
  • Binary Search

LeetCode 410. Split Array Largest Sum

Description https://leetcode.com/problems/split-array-largest-sum/ Given an array nums which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays.…

Continue Reading
  • Posted on October 24, 2020October 24, 2020
  • Binary Search

LeetCode 315. Count of Smaller Numbers After Self

Description https://leetcode.com/problems/count-of-smaller-numbers-after-self/ You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the…

Continue Reading
  • Posted on October 23, 2020October 23, 2020
  • LeetCode

LeetCode 833. Find And Replace in String

Description https://leetcode.com/problems/find-and-replace-in-string/ To some string S, we will perform some replacement operations that replace groups of letters with new ones (not necessarily the…

Continue Reading
  • Posted on October 22, 2020October 22, 2020
  • Binary Tree

LeetCode 951. Flip Equivalent Binary Trees

Description https://leetcode.com/problems/flip-equivalent-binary-trees/ For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • Design

LeetCode 359. Logger Rate Limiter

Description https://leetcode.com/problems/logger-rate-limiter/ Design a logger system that receive stream of messages along with its timestamps, each message should be printed…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • Array

LeetCode 731. My Calendar II

Description https://leetcode.com/problems/my-calendar-ii/ Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • LeetCode

LeetCode 771. Jewels and Stones

Description https://leetcode.com/problems/jewels-and-stones/ You’re given strings J representing the types of stones that are jewels, and S representing the stones you have.  Each character in S is…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • LeetCode

LeetCode 753. Cracking the Safe

Description https://leetcode.com/problems/cracking-the-safe/ There is a box protected by a password. The password is a sequence of n digits where each digit can be…

Continue Reading

Posts navigation

Page 1 Page 2 … Page 14 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (187)
    • Array (41)
    • Backtracking (10)
    • Binary Search (11)
    • Binary Tree (20)
    • Bit Manipulation (4)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (13)
    • Math (16)
    • Recursion (1)
    • Sorting (5)
    • Stack (8)
    • String (23)
    • Two Pointers (10)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (2)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress