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 April 17, 2020April 17, 2020
  • Array

LeetCode 525. Contiguous Array

Description https://leetcode.com/problems/contiguous-array/ Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and…

Continue Reading
  • Posted on April 12, 2020July 18, 2021
  • Array

LeetCode 1046. Last Stone Weight

Description https://leetcode.com/problems/last-stone-weight/ We have a collection of stones, each stone has a positive integer weight. Each turn, we choose the two heaviest stones and…

Continue Reading
  • Posted on April 10, 2020September 30, 2020
  • Array

LeetCode 268. Missing Number

Description https://leetcode.com/problems/missing-number/ Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from…

Continue Reading
  • Posted on March 22, 2020March 22, 2020
  • Array

LeetCode 136. Single Number

Description https://leetcode.com/problems/single-number/ Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have…

Continue Reading
  • Posted on March 22, 2020March 22, 2020
  • Array

LeetCode 36. Valid Sudoku

Description https://leetcode.com/problems/valid-sudoku/ Determine if a 9×9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each…

Continue Reading
  • Posted on March 22, 2020March 22, 2020
  • Array

LeetCode 48. Rotate Image

Description https://leetcode.com/problems/rotate-image/ You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have…

Continue Reading
  • Posted on March 21, 2020July 5, 2021
  • Array

LeetCode 283. Move Zeroes

Description https://leetcode.com/problems/move-zeroes/ Given an integer array nums, move all 0‘s to the end of it while maintaining the relative order of the…

Continue Reading
  • Posted on March 20, 2020July 22, 2021
  • Array

LeetCode 350. Intersection of Two Arrays II

Description https://leetcode.com/problems/intersection-of-two-arrays-ii/ Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must appear as many…

Continue Reading
  • Posted on March 20, 2020March 20, 2020
  • Array

LeetCode 189. Rotate Array

Description https://leetcode.com/problems/rotate-array/ Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k…

Continue Reading
  • Posted on March 17, 2020March 19, 2020
  • Array

LeetCode 217. Contains Duplicate

Description https://leetcode.com/problems/contains-duplicate/ Given an array of integers, find if the array contains any duplicates. Your function should return true if…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 17 Page 18 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