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

  • Posted on March 5, 2021March 5, 2021
  • Array

LeetCode 657. Robot Return to Origin

Description https://leetcode.com/problems/robot-return-to-origin/ There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence…

Continue Reading
  • Posted on March 4, 2021March 4, 2021
  • Binary Tree

LeetCode 589. N-ary Tree Preorder Traversal

Description https://leetcode.com/problems/n-ary-tree-postorder-traversal/ Given an n-ary tree, return the preorder traversal of its nodes’ values. Nary-Tree input serialization is represented in their level order…

Continue Reading
  • Posted on March 4, 2021March 4, 2021
  • Binary Tree

LeetCode 590. N-ary Tree Postorder Traversal

Description https://leetcode.com/problems/n-ary-tree-postorder-traversal/ Given an n-ary tree, return the postorder traversal of its nodes’ values. Nary-Tree input serialization is represented in their level order…

Continue Reading
  • Posted on March 3, 2021March 3, 2021
  • LeetCode

LeetCode 1085. Sum of Digits in the Minimum Number

Description https://leetcode.com/problems/sum-of-digits-in-the-minimum-number/ Given an array A of positive integers, let S be the sum of the digits of the minimal element of A. Return 0…

Continue Reading
  • Posted on March 2, 2021March 2, 2021
  • LeetCode

LeetCode 1704. Determine if String Halves Are Alike

Description https://leetcode.com/problems/determine-if-string-halves-are-alike/ You are given a string s of even length. Split this string into two halves of equal lengths, and let a be…

Continue Reading
  • Posted on March 1, 2021March 1, 2021
  • Array

LeetCode 728. Self Dividing Numbers

Description https://leetcode.com/problems/self-dividing-numbers/ A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing…

Continue Reading
  • Posted on March 1, 2021March 1, 2021
  • Array

LeetCode 1351. Count Negative Numbers in a Sorted Matrix

Description https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/ Given a m x n matrix grid which is sorted in non-increasing order both row-wise and column-wise, return the number of negative numbers in grid. Example…

Continue Reading
  • Posted on March 1, 2021March 1, 2021
  • Array

LeetCode 1295. Find Numbers with Even Number of Digits

Description https://leetcode.com/problems/find-numbers-with-even-number-of-digits/ Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums =…

Continue Reading
  • Posted on February 28, 2021February 28, 2021
  • Array

LeetCode 1748. Sum of Unique Elements

Description https://leetcode.com/problems/sum-of-unique-elements/ You are given an integer array nums. The unique elements of an array are the elements that appear exactly once in…

Continue Reading
  • Posted on February 27, 2021February 27, 2021
  • Binary Tree

LeetCode 1302. Deepest Leaves Sum

Description https://leetcode.com/problems/deepest-leaves-sum/ Given a binary tree, return the sum of values of its deepest leaves. Example 1: Input: root =…

Continue Reading

Posts navigation

Page 1 Page 2 … Page 27 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (266)
    • Array (71)
    • Backtracking (10)
    • Binary Search (12)
    • Binary Tree (25)
    • Bit Manipulation (5)
    • Database (17)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (15)
    • Math (22)
    • Recursion (1)
    • Sorting (7)
    • Stack (10)
    • String (34)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress