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 9, 2021April 9, 2021
  • Array

LeetCode 1346. Check If N and Its Double Exist

Description https://leetcode.com/problems/check-if-n-and-its-double-exist/ Given an array arr of integers, check if there exists two integers N and M such that N is the double of M ( i.e. N = 2 *…

Continue Reading
  • Posted on April 7, 2021July 31, 2021
  • Array

LeetCode 989. Add to Array-Form of Integer

Description https://leetcode.com/problems/add-to-array-form-of-integer/ The array-form of an integer num is an array representing its digits in left to right order. For example, for num = 1321,…

Continue Reading
  • Posted on April 7, 2021April 7, 2021
  • Array

LeetCode 345. Reverse Vowels of a String

Description https://leetcode.com/problems/reverse-vowels-of-a-string/ Given a string s, reverse only all the vowels in the string and return it. The vowels are ‘a’, ‘e’, ‘i’, ‘o’, and ‘u’,…

Continue Reading
  • Posted on April 7, 2021April 7, 2021
  • Array

LeetCode 303. Range Sum Query – Immutable

Description https://leetcode.com/problems/range-sum-query-immutable/ Given an integer array nums, find the sum of the elements between indices left and right inclusive, where (left <= right). Implement the NumArray class: NumArray(int[]…

Continue Reading
  • Posted on April 5, 2021April 5, 2021
  • Array

LeetCode 744. Find Smallest Letter Greater Than Target

Description https://leetcode.com/problems/find-smallest-letter-greater-than-target/ Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element…

Continue Reading
  • Posted on April 5, 2021April 5, 2021
  • Array

LeetCode 724. Find Pivot Index

Description https://leetcode.com/problems/find-pivot-index/ Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the sum of…

Continue Reading
  • Posted on April 3, 2021
  • Array

LeetCode 27. Remove Element

Description https://leetcode.com/problems/remove-element/ Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate…

Continue Reading
  • Posted on April 2, 2021April 2, 2021
  • Array

LeetCode 1243. Array Transformation

Description https://leetcode.com/problems/array-transformation/ Given an initial array arr, every day you produce a new array using the array of the previous day.…

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

LeetCode 252. Meeting Rooms

Description https://leetcode.com/problems/meeting-rooms/ Given an array of meeting time intervals where intervals[i] = [starti, endi], determine if a person could attend all meetings. Example…

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

LeetCode 1539. Kth Missing Positive Number

Description https://leetcode.com/problems/kth-missing-positive-number/ Given an array arr of positive integers sorted in a strictly increasing order, and an integer k. Find the kth positive integer that is missing…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 7 Page 8 Page 9 … 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