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

  • Posted on April 20, 2020April 20, 2020
  • Binary Tree

LeetCode 1008. Construct Binary Search Tree from Preorder Traversal

Description https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/ Return the root node of a binary search tree that matches the given preorder traversal. (Recall that a binary search tree is a…

Continue Reading
  • Posted on April 19, 2020August 17, 2020
  • Interview

Medium Collection Top Interview Questions

Total 51 questions. Array and Strings Array and String type of questions were asked in interviews frequently. You will most…

Continue Reading
  • Posted on April 19, 2020July 20, 2020
  • Binary Search

LeetCode 33. Search in Rotated Sorted Array

Description https://leetcode.com/problems/search-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).…

Continue Reading
  • Posted on April 18, 2020April 18, 2020
  • Dynamic Programming

LeetCode 64. Minimum Path Sum

Description https://leetcode.com/problems/minimum-path-sum/ Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of…

Continue Reading
  • Posted on April 17, 2020January 16, 2021
  • Depth First Search

LeetCode 200. Number of Islands

Description https://leetcode.com/problems/number-of-islands/ Given an m x n 2d grid map of ‘1’s (land) and ‘0’s (water), return the number of islands. An island is surrounded by water and is…

Continue Reading
  • Posted on April 17, 2020July 5, 2021
  • Array

LeetCode 238. Product of Array Except Self

Description https://leetcode.com/problems/product-of-array-except-self/ Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. The product…

Continue Reading
  • Posted on April 17, 2020April 17, 2020
  • LeetCode

LeetCode 678. Valid Parenthesis String

Description https://leetcode.com/problems/valid-parenthesis-string/ Given a string containing only three types of characters: ‘(‘, ‘)’ and ‘*’, write a function to check…

Continue Reading
  • Posted on April 17, 2020April 17, 2020
  • Array

LeetCode 525. Contiguous Array

Description https://leetcode.com/problems/contiguous-array/ Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and…

Continue Reading
  • Posted on April 12, 2020July 18, 2021
  • Array

LeetCode 1046. Last Stone Weight

Description https://leetcode.com/problems/last-stone-weight/ We have a collection of stones, each stone has a positive integer weight. Each turn, we choose the two heaviest stones and…

Continue Reading
  • Posted on April 12, 2020April 12, 2020
  • Binary Tree

LeetCode 543. Diameter of Binary Tree

Description https://leetcode.com/problems/diameter-of-binary-tree/ Given a binary tree, you need to compute the length of the diameter of the tree. The diameter…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 49 Page 50 Page 51 … 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