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 May 8, 2021May 8, 2021
  • Database

LeetCode 1853. Convert Date Format

Description https://leetcode.com/problems/convert-date-format/ SQL Schema Table: Days +————-+——+ | Column Name | Type | +————-+——+ | day | date | +————-+——+ day…

Continue Reading
  • Posted on May 7, 2021May 7, 2021
  • LeetCode

LeetCode 1784. Check if Binary String Has at Most One Segment of Ones

Description https://leetcode.com/problems/check-if-binary-string-has-at-most-one-segment-of-ones/ Given a binary string s ​​​​​without leading zeros, return true​​​ if s contains at most one contiguous segment of ones. Otherwise, return false. Example 1: Input:…

Continue Reading
  • Posted on May 6, 2021May 6, 2021
  • Binary Tree

LeetCode 783. Minimum Distance Between BST Nodes

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

Continue Reading
  • Posted on May 5, 2021May 5, 2021
  • Array

LeetCode 119. Pascal’s Triangle II

Description https://leetcode.com/problems/pascals-triangle-ii/ Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal’s triangle. In Pascal’s triangle, each number is the sum of the…

Continue Reading
  • Posted on May 5, 2021May 5, 2021
  • LeetCode

LeetCode 1758. Minimum Changes To Make Alternating Binary String

Description https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string/ You are given a string s consisting only of the characters ‘0’ and ‘1’. In one operation, you can change any ‘0’ to ‘1’ or vice versa.…

Continue Reading
  • Posted on May 5, 2021May 5, 2021
  • Binary Tree

LeetCode 404. Sum of Left Leaves

Description https://leetcode.com/problems/sum-of-left-leaves/ Given the root of a binary tree, return the sum of all left leaves. Example 1: Input: root = [3,9,20,null,null,15,7]…

Continue Reading
  • Posted on May 5, 2021May 5, 2021
  • LeetCode

LeetCode 1790. Check if One String Swap Can Make Strings Equal

Description https://leetcode.com/problems/check-if-one-string-swap-can-make-strings-equal/ You are given two strings s1 and s2 of equal length. A string swap is an operation where you choose two indices in a…

Continue Reading
  • Posted on May 4, 2021May 4, 2021
  • Array

LeetCode 1694. Reformat Phone Number

Description https://leetcode.com/problems/reformat-phone-number/ You are given a phone number as a string number. number consists of digits, spaces ‘ ‘, and/or dashes ‘-‘. You would like…

Continue Reading
  • Posted on May 3, 2021May 3, 2021
  • LeetCode

LeetCode 1323. Maximum 69 Number

Description https://leetcode.com/problems/maximum-69-number/ Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by…

Continue Reading
  • Posted on May 3, 2021May 3, 2021
  • Database

LeetCode 1179. Reformat Department Table

Description https://leetcode.com/problems/reformat-department-table/ SQL Schema Table: Department +—————+———+ | Column Name | Type | +—————+———+ | id | int | | revenue…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 16 Page 17 Page 18 … 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