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

  • Posted on August 5, 2020January 27, 2021
  • LeetCode

LeetCode 50. Pow(x, n)

Description https://leetcode.com/problems/longest-increasing-subsequence/ Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: Input: 2.00000, 10 Output: 1024.00000 Example 2: Input: 2.10000, 3…

Continue Reading
  • Posted on August 4, 2020November 6, 2021
  • Dynamic Programming

LeetCode 300. Longest Increasing Subsequence

Description https://leetcode.com/problems/longest-increasing-subsequence/ Given an integer array nums, return the length of the longest strictly increasing subsequence. A subsequence is a sequence that can…

Continue Reading
  • Posted on August 4, 2020August 4, 2020
  • LeetCode

LeetCode 172. Factorial Trailing Zeroes

Description https://leetcode.com/problems/factorial-trailing-zeroes/ Given an integer n, return the number of trailing zeroes in n!. Example 1: Input: 3 Output: 0 Explanation: 3! =…

Continue Reading
  • Posted on July 29, 2020February 3, 2021
  • Dynamic Programming

LeetCode 322. Coin Change

Description https://leetcode.com/problems/coin-change/ You are given coins of different denominations and a total amount of money amount. Write a function to compute…

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

LeetCode 116. Populating Next Right Pointers in Each Node

Description https://leetcode.com/problems/search-a-2d-matrix-ii/ You are given a perfect binary tree where all leaves are on the same level, and every parent has two children.…

Continue Reading
  • Posted on July 21, 2020July 21, 2020
  • Binary Search

LeetCode 240. Search a 2D Matrix II

Description https://leetcode.com/problems/search-a-2d-matrix-ii/ Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers…

Continue Reading
  • Posted on July 20, 2020July 6, 2021
  • LeetCode

LeetCode 56. Merge Intervals

Description https://leetcode.com/problems/merge-intervals/ Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that…

Continue Reading
  • Posted on July 19, 2020November 1, 2021
  • Design

LeetCode 380. Insert Delete GetRandom O(1)

Description https://leetcode.com/problems/insert-delete-getrandom-o1/ Design a data structure that supports all following operations in average O(1) time. insert(val): Inserts an item val to the set…

Continue Reading
  • Posted on June 13, 2020June 13, 2020
  • Backtracking

LeetCode 51. N-Queens

Description https://leetcode.com/problems/n-queens/ The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given…

Continue Reading
  • Posted on June 9, 2020June 9, 2020
  • Backtracking

LeetCode 37. Sudoku Solver

Description https://leetcode.com/problems/sort-colors/ Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the…

Continue Reading

Posts navigation

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