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

Category: Binary Search

  • Posted on November 9, 2021
  • Binary Search

LeetCode 475. Heaters

Description https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fixed…

Continue Reading
  • Posted on October 21, 2021October 21, 2021
  • Binary Search

LeetCode 702. Search in a Sorted Array of Unknown Size

Description https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size/ This is an interactive problem. You have a sorted array of unique elements and an unknown size. You do not have an…

Continue Reading
  • Posted on September 30, 2021November 28, 2021
  • Binary Search

LeetCode 1095. Find in Mountain Array

Description https://leetcode.com/problems/find-in-mountain-array/ (This problem is an interactive problem.) You may recall that an array arr is a mountain array if and only if: arr.length >=…

Continue Reading
  • Posted on September 26, 2021September 26, 2021
  • Binary Search

LeetCode 1182. Shortest Distance to Target Color

Description https://leetcode.com/problems/shortest-distance-to-target-color/ You are given an array colors, in which there are three colors: 1, 2 and 3. You are also given some queries. Each…

Continue Reading
  • Posted on May 29, 2021May 29, 2021
  • Binary Search

LeetCode 74. Search a 2D Matrix

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

Continue Reading
  • Posted on April 6, 2021April 6, 2021
  • Binary Search

LeetCode 374. Guess Number Higher or Lower

Description https://leetcode.com/problems/guess-number-higher-or-lower/ We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have…

Continue Reading
  • Posted on April 1, 2021April 1, 2021
  • Binary Search

LeetCode 704. Binary Search

Description https://leetcode.com/problems/binary-search/ Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums.…

Continue Reading
  • Posted on February 3, 2021February 3, 2021
  • Binary Search

LeetCode 441. Arranging Coins

Description https://leetcode.com/problems/arranging-coins/ You have a total of n coins that you want to form in a staircase shape, where every k-th row must…

Continue Reading
  • Posted on November 8, 2020September 26, 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

Posts navigation

Page 1 Page 2 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