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: Google Interview Question

  • Posted on December 29, 2018April 4, 2020
  • Dynamic Programming

LeetCode 70. Climbing Stairs

Description https://leetcode.com/problems/climbing-stairs/ You are climbing a stair case. It takes n steps to reach to the top. Each time you can either…

Continue Reading
  • Posted on August 26, 2018September 25, 2020
  • LeetCode

LeetCode 387. First Unique Character in a String

Description Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return…

Continue Reading
  • Posted on August 18, 2018August 18, 2018
  • LeetCode

LeetCode 84. Largest Rectangle in Histogram

Description https://leetcode.com/problems/largest-rectangle-in-histogram/description/ Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area…

Continue Reading
  • Posted on June 2, 2018June 2, 2018
  • Dynamic Programming

LeetCode 139. Word Break

Description https://leetcode.com/problems/word-break/description/ Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or…

Continue Reading
  • Posted on January 6, 2018March 25, 2018
  • LeetCode

LeetCode 42. Trapping Rain Water

Description https://leetcode.com/problems/trapping-rain-water/description/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water…

Continue Reading
  • Posted on November 11, 2017January 11, 2021
  • LeetCode

LeetCode 155. Min Stack

Description Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) — Push…

Continue Reading
  • Posted on March 1, 2017January 12, 2021
  • LeetCode

LeetCode 20. Valid Parentheses

Description https://leetcode.com/problems/valid-parentheses/ Given a string s containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. An input string is valid…

Continue Reading
  • Posted on February 12, 2017January 27, 2018
  • Binary Search

LeetCode 4. Median of Two Sorted Arrays

Description https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of…

Continue Reading

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