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 30, 2021April 30, 2021
  • Binary Tree

LeetCode 257. Binary Tree Paths

Description https://leetcode.com/problems/path-crossing/ Given the root of a binary tree, return all root-to-leaf paths in any order. A leaf is a node with no children. Example 1:…

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

LeetCode 1496. Path Crossing

Description https://leetcode.com/problems/path-crossing/ Given a string path, where path[i] = ‘N’, ‘S’, ‘E’ or ‘W’, each representing moving one unit north, south, east, or west, respectively. You start…

Continue Reading
  • Posted on April 30, 2021April 30, 2021
  • Binary Tree

LeetCode 530. Minimum Absolute Difference in BST

Description https://leetcode.com/problems/minimum-absolute-difference-in-bst/ Given the root of a Binary Search Tree (BST), return the minimum absolute difference between the values of any two different…

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

LeetCode 1475. Final Prices With a Special Discount in a Shop

Description https://leetcode.com/problems/final-prices-with-a-special-discount-in-a-shop/ Given the array prices where prices[i] is the price of the ith item in a shop. There is a special discount for items in…

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

LeetCode 922. Sort Array By Parity II

Description https://leetcode.com/problems/sort-array-by-parity-ii/ Given an array of integers nums, half of the integers in nums are odd, and the other half are even. Sort the array…

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

LeetCode 1614. Maximum Nesting Depth of the Parentheses

Description https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/ A string is a valid parentheses string (denoted VPS) if it meets one of the following: It is an empty string “”,…

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

LeetCode 1148. Article Views I

Description https://leetcode.com/problems/article-views-i/ SQL Schema Table: Views +—————+———+ | Column Name | Type | +—————+———+ | article_id | int | | author_id…

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

LeetCode 610. Triangle Judgement

Description https://leetcode.com/problems/triangle-judgement/ SQL Schema A pupil Tim gets homework to identify whether three line segments could possibly form a triangle.However,…

Continue Reading
  • Posted on April 28, 2021April 28, 2021
  • Bit Manipulation

LeetCode 693. Binary Number with Alternating Bits

Description https://leetcode.com/problems/binary-number-with-alternating-bits/ Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have…

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

LeetCode 290. Word Pattern

Description https://leetcode.com/problems/word-pattern/ Given a pattern and a string s, find if s follows the same pattern. Here follow means a full match, such that there is a…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 18 Page 19 Page 20 … 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