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 November 2, 2021November 2, 2021
  • Backtracking

LeetCode 216. Combination Sum III

Description https://leetcode.com/problems/combination-sum-iii/ Find all valid combinations of k numbers that sum up to n such that the following conditions are true: Only numbers 1 through 9 are used.…

Continue Reading
  • Posted on September 5, 2021September 5, 2021
  • Backtracking

LeetCode 526. Beautiful Arrangement

Description https://leetcode.com/problems/beautiful-arrangement/ Suppose you have n integers labeled 1 through n. A permutation of those n integers perm (1-indexed) is considered a beautiful arrangement if for every i (1 <= i <= n), either of…

Continue Reading
  • Posted on August 15, 2021August 15, 2021
  • Backtracking

LeetCode 784. Letter Case Permutation

Description https://leetcode.com/problems/letter-case-permutation/ Given a string s, we can transform every letter individually to be lowercase or uppercase to create another string.…

Continue Reading
  • Posted on July 7, 2021August 20, 2021
  • Backtracking

LeetCode 47. Permutations II

Description https://leetcode.com/problems/permutations-ii/ Given a collection of numbers, nums, that might contain duplicates, return all possible unique permutations in any order. Example 1: Input: nums…

Continue Reading
  • Posted on June 26, 2021June 26, 2021
  • Backtracking

LeetCode 77. Combinations

Description https://leetcode.com/problems/combinations/ Given two integers n and k, return all possible combinations of k numbers out of the range [1, n]. You may return the answer in any…

Continue Reading
  • Posted on May 25, 2021May 25, 2021
  • Backtracking

LeetCode 1641. Count Sorted Vowel Strings

Description https://leetcode.com/problems/count-sorted-vowel-strings/ Given an integer n, return the number of strings of length n that consist only of vowels (a, e, i, o, u) and are lexicographically sorted. A…

Continue Reading
  • Posted on May 16, 2021May 16, 2021
  • Backtracking

LeetCode 1863. Sum of All Subset XOR Totals

Description https://leetcode.com/problems/sum-of-all-subset-xor-totals/ The XOR total of an array is defined as the bitwise XOR of all its elements, or 0 if the array is empty. For example, the XOR…

Continue Reading
  • Posted on October 8, 2020November 25, 2021
  • 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 October 5, 2020September 25, 2021
  • Backtracking

LeetCode 489. Robot Room Cleaner

Description https://leetcode.com/problems/robot-room-cleaner/ You are controlling a robot that is located somewhere in a room. The room is modeled as an m…

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 2023 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress