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
  • Posted on September 1, 2018September 1, 2018
  • LeetCode

LeetCode 547. Friend Circles

Description https://leetcode.com/problems/friend-circles/description/ There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive…

Continue Reading
  • Posted on September 1, 2018September 3, 2020
  • Useful

Union Find

Union Find is a data structure to find whether two elements in the same group (Find) merge two groups of…

Continue Reading
  • Posted on August 26, 2018July 8, 2021
  • 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 17, 2021
  • LeetCode

LeetCode 84. Largest Rectangle in Histogram

Description https://leetcode.com/problems/largest-rectangle-in-histogram/ Given an array of integers heights representing the histogram’s bar height where the width of each bar is 1, return the area…

Continue Reading
  • Posted on August 4, 2018March 29, 2020
  • Binary Search

LeetCode 278. First Bad Version

Description You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version…

Continue Reading
  • Posted on July 28, 2018October 30, 2021
  • Backtracking

LeetCode 17. Letter Combinations of a Phone Number

Description Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer…

Continue Reading
  • Posted on June 23, 2018July 28, 2018
  • LeetCode

LeetCode 18. 4Sum

Description https://leetcode.com/problems/4sum/description/ Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array…

Continue Reading
  • Posted on June 9, 2018August 12, 2021
  • LeetCode

LeetCode 26. Remove Duplicates from Sorted Array

Description https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not…

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

LeetCode 139. 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 more…

Continue Reading
  • Posted on May 12, 2018January 16, 2021
  • Binary Tree

LeetCode 102. Binary Tree Level Order Traversal

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

Continue Reading

Posts navigation

Previous Page Page 1 … Page 54 Page 55 Page 56 … Page 61 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