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: Backtracking

  • Posted on October 8, 2020October 9, 2020
  • Backtracking

LeetCode 351. Android Unlock Patterns

Description https://leetcode.com/problems/android-unlock-patterns/ Given an Android 3×3 key lock screen and two integers m and n, where 1 ≤ m ≤ n ≤ 9, count the…

Continue Reading
  • Posted on October 6, 2020January 13, 2021
  • Backtracking

LeetCode 212. Word Search II

Description https://leetcode.com/problems/word-search-ii/ Given an m x n board of characters and a list of strings words, return all words on the board. Each word must…

Continue Reading
  • Posted on September 24, 2020September 24, 2020
  • Backtracking

LeetCode 425. Word Squares

Description https://leetcode.com/problems/word-squares/ Given a set of words (without duplicates), find all word squares you can build from them. A sequence of words forms…

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
  • 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 July 28, 2018January 9, 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 December 23, 2017January 17, 2021
  • Backtracking

LeetCode 90. Subsets II

Description Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The…

Continue Reading
  • Posted on December 16, 2017January 6, 2021
  • Backtracking

LeetCode 78. Subsets

Description https://leetcode.com/problems/subsets/ Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate…

Continue Reading

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (188)
    • Array (41)
    • Backtracking (10)
    • Binary Search (11)
    • Binary Tree (20)
    • Bit Manipulation (4)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (14)
    • Math (16)
    • Recursion (1)
    • Sorting (5)
    • Stack (8)
    • String (23)
    • Two Pointers (10)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (2)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress