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 June 6, 2020October 20, 2021
  • LeetCode

LeetCode 75. Sort Colors

Description https://leetcode.com/problems/sort-colors/ Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent,…

Continue Reading
  • Posted on June 3, 2020July 2, 2021
  • Binary Tree

LeetCode 103. Binary Tree Zigzag Level Order Traversal

Description https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/ Given the root of a binary tree, return the zigzag level order traversal of its nodes’ values. (i.e., from left to…

Continue Reading
  • Posted on May 25, 2020May 25, 2020
  • Binary Tree

LeetCode 105. Construct Binary Tree from Preorder and Inorder Traversal

Description https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do…

Continue Reading
  • Posted on May 25, 2020May 15, 2021
  • Binary Tree

LeetCode 230. Kth Smallest Element in a BST

Description https://leetcode.com/problems/kth-smallest-element-in-a-bst/ Given the root of a binary search tree, and an integer k, return the kth (1-indexed) smallest element in the tree. Example 1: Input: root…

Continue Reading
  • Posted on May 24, 2020January 7, 2021
  • Backtracking

LeetCode 79. Word Search

Description https://leetcode.com/problems/word-search/ Given a 2D board and a word, find if the word exists in the grid. The word can…

Continue Reading
  • Posted on May 21, 2020January 12, 2021
  • Backtracking

LeetCode 22. Generate Parentheses

Description https://leetcode.com/problems/generate-parentheses/ Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3…

Continue Reading
  • Posted on May 20, 2020July 6, 2021
  • Array

LeetCode 46. Permutations

Description https://leetcode.com/problems/permutations/ Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. Example 1:…

Continue Reading
  • Posted on May 17, 2020February 5, 2021
  • Array

LeetCode 347. Top K Frequent Elements

Description https://leetcode.com/problems/top-k-frequent-elements/ Given a non-empty array of integers, return the k most frequent elements. Example 1: Input: nums = [1,1,1,2,2,3], k =…

Continue Reading
  • Posted on May 16, 2020May 16, 2020
  • Array

LeetCode 215. Kth Largest Element in an Array

Description https://leetcode.com/problems/kth-largest-element-in-an-array/ Find the kth largest element in an unsorted array. Note that it is the kth largest element in the…

Continue Reading
  • Posted on May 15, 2020August 20, 2021
  • Binary Search

LeetCode 162. Find Peak Element

Description https://leetcode.com/problems/find-peak-element/ A peak element is an element that is strictly greater than its neighbors. Given an integer array nums, find…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 47 Page 48 Page 49 … 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