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 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, 2020March 21, 2020
  • Array

LeetCode 283. Move Zeroes

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

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

LeetCode 350. Intersection of Two Arrays II

Description https://leetcode.com/problems/intersection-of-two-arrays-ii/ Given two arrays, write a function to compute their intersection. Example 1: Input: nums1 = [1,2,2,1], nums2 =…

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
  • Posted on March 17, 2020March 17, 2020
  • Array

LeetCode 66. Plus One

Description https://leetcode.com/problems/plus-one/ Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that…

Continue Reading
  • Posted on February 23, 2020September 3, 2020
  • Array

LeetCode 53. Maximum Subarray

Description https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and…

Continue Reading
  • Posted on January 13, 2018September 23, 2020
  • Array

LeetCode 11. Container With Most Water

Description https://leetcode.com/problems/container-with-most-water/ Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two…

Continue Reading
  • Posted on July 13, 2017March 19, 2020
  • Array

LeetCode 122. Best Time to Buy and Sell Stock II

Description https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/description/ Say you have an array for which the ith element is the price of a given stock on day i. Design…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 3 Page 4 Page 5 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (187)
    • Array (41)
    • Backtracking (10)
    • Binary Search (11)
    • Binary Tree (20)
    • Bit Manipulation (4)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (13)
    • Math (16)
    • Recursion (1)
    • Sorting (5)
    • Stack (8)
    • String (23)
    • Two Pointers (10)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (2)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress