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

Tag: Microsoft Interview Question

  • Posted on April 14, 2021April 14, 2021
  • Array

LeetCode 1299. Replace Elements with Greatest Element on Right Side

Description https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/ Given an array arr, replace every element in that array with the greatest element among the elements to its right, and…

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

LeetCode 485. Max Consecutive Ones

Description https://leetcode.com/problems/max-consecutive-ones/ Given a binary array nums, return the maximum number of consecutive 1‘s in the array. Example 1: Input: nums = [1,1,0,1,1,1]…

Continue Reading
  • Posted on April 14, 2021
  • Array

LeetCode 1646. Get Maximum in Generated Array

Description https://leetcode.com/problems/get-maximum-in-generated-array/ You are given an integer n. An array nums of length n + 1 is generated in the following way: nums[0] = 0…

Continue Reading
  • Posted on April 14, 2021July 18, 2021
  • Array

LeetCode 674. Longest Continuous Increasing Subsequence

Description https://leetcode.com/problems/longest-continuous-increasing-subsequence/ Given an unsorted array of integers nums, return the length of the longest continuous increasing subsequence (i.e. subarray). The subsequence must be strictly increasing.…

Continue Reading
  • Posted on April 13, 2021September 16, 2021
  • Array

LeetCode 830. Positions of Large Groups

Description https://leetcode.com/problems/positions-of-large-groups/ In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string…

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

LeetCode 219. Contains Duplicate II

Description https://leetcode.com/problems/contains-duplicate-ii/ Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and abs(i -…

Continue Reading
  • Posted on April 13, 2021
  • LeetCode

LeetCode 203. Remove Linked List Elements

Description https://leetcode.com/problems/remove-linked-list-elements/ Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val…

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

LeetCode 414. Third Maximum Number

Description https://leetcode.com/problems/third-maximum-number/ Given integer array nums, return the third maximum number in this array. If the third maximum does not exist, return…

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

LeetCode 170. Two Sum III – Data structure design

Description https://leetcode.com/problems/two-sum-iii-data-structure-design/ Design a data structure that accepts a stream of integers and checks if it has a pair of…

Continue Reading
  • Posted on April 12, 2021April 12, 2021
  • LeetCode

LeetCode 434. Number of Segments in a String

Description https://leetcode.com/problems/number-of-segments-in-a-string/ You are given a string s, return the number of segments in the string.  A segment is defined to be a contiguous…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 22 Page 23 Page 24 … Page 55 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