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

  • 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 26, 2021February 26, 2021
  • Array

LeetCode 832. Flipping an Image

Description https://leetcode.com/problems/flipping-an-image/ Given an n x n binary matrix image, flip the image horizontally, then invert it, and return the resulting image. To flip an…

Continue Reading
  • Posted on February 25, 2021
  • Array

LeetCode 1572. Matrix Diagonal Sum

Description https://leetcode.com/problems/matrix-diagonal-sum/ Given a square matrix mat, return the sum of the matrix diagonals. Only include the sum of all the elements on…

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

LeetCode 1295. Find Numbers with Even Number of Digits

Description https://leetcode.com/problems/cells-with-odd-values-in-a-matrix/ Given n and m which are the dimensions of a matrix initialized by zeros and given an array indices where indices[i] = [ri, ci]. For…

Continue Reading
  • Posted on February 24, 2021February 24, 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 24, 2021February 24, 2021
  • Array

LeetCode 1213. Intersection of Three Sorted Arrays

Description https://leetcode.com/problems/intersection-of-three-sorted-arrays/ Given three integer arrays arr1, arr2 and arr3 sorted in strictly increasing order, return a sorted array of only the integers that appeared in all three arrays. Example 1: Input: arr1…

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

LeetCode 1534. Count Good Triplets

Description https://leetcode.com/problems/count-good-triplets/ Given an array of integers arr, and three integers a, b and c. You need to find the number of good triplets. A…

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

LeetCode 760. Find Anagram Mappings

Description https://leetcode.com/problems/find-anagram-mappings/ Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements…

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

LeetCode 1732. Find the Highest Altitude

Description https://leetcode.com/problems/find-the-highest-altitude/ There is a biker going on a road trip. The road trip consists of n + 1 points at different…

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

LeetCode 1768. Merge Strings Alternately

Description https://leetcode.com/problems/merge-strings-alternately/ You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 12 Page 13 Page 14 … Page 19 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