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

LeetCode 1385. Find the Distance Value Between Two Arrays

Description https://leetcode.com/problems/find-the-distance-value-between-two-arrays/ Given two integer arrays arr1 and arr2, and the integer d, return the distance value between the two arrays. The distance value is defined…

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

LeetCode 1122. Relative Sort Array

Description https://leetcode.com/problems/relative-sort-array/ Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1. Sort the elements of arr1 such that…

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

LeetCode 1051. Height Checker

Description https://leetcode.com/problems/height-checker/ A school is trying to take an annual photo of all the students. The students are asked to…

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

LeetCode 942. DI String Match

Description https://leetcode.com/problems/di-string-match/ A permutation perm of n + 1 integers of all the integers in the range [0, n] can be represented as a string s of length n where:…

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

LeetCode 1827. Minimum Operations to Make the Array Increasing

Description https://leetcode.com/problems/minimum-operations-to-make-the-array-increasing/ You are given an integer array nums (0-indexed). In one operation, you can choose an element of the array and…

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

LeetCode 1832. Check if the Sentence Is Pangram

Description https://leetcode.com/problems/check-if-the-sentence-is-pangram/ A pangram is a sentence where every letter of the English alphabet appears at least once. Given a string sentence containing only…

Continue Reading
  • Posted on April 17, 2021April 17, 2021
  • Database

LeetCode 1821. Find Customers With Positive Revenue this Year

Description https://leetcode.com/problems/find-customers-with-positive-revenue-this-year/ SQL Schema Table: Customers +————–+——+ | Column Name | Type | +————–+——+ | customer_id | int | | year…

Continue Reading
  • Posted on April 16, 2021
  • Array

LeetCode 905. Sort Array By Parity

Description https://leetcode.com/problems/sort-array-by-parity/ Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all…

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

LeetCode 1822. Sign of the Product of an Array

Description https://leetcode.com/problems/sign-of-the-product-of-an-array/ There is a function signFunc(x) that returns: 1 if x is positive. -1 if x is negative. 0 if x is equal to 0. You are given an integer array nums.…

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

LeetCode 1812. Determine Color of a Chessboard Square

Description https://leetcode.com/problems/determine-color-of-a-chessboard-square/ You are given coordinates, a string that represents the coordinates of a square of the chessboard. Below is a…

Continue Reading

Posts navigation

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