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 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
  • 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, 2021April 14, 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, 2021April 13, 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

Posts navigation

Page 1 Page 2 … Page 34 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (372)
    • Array (130)
    • Backtracking (10)
    • Binary Search (14)
    • Binary Tree (32)
    • Bit Manipulation (12)
    • Database (20)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (17)
    • Math (27)
    • Recursion (1)
    • Sorting (7)
    • Stack (10)
    • String (55)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress