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: Bloomberg Interview Question

  • Posted on June 19, 2021June 19, 2021
  • Bit Manipulation

LeetCode 338. Counting Bits

Description https://leetcode.com/problems/counting-bits/ Given an integer n, return an array ans of length n + 1 such that for each i(0 <= i <= n), ans[i] is the number of 1‘s in the…

Continue Reading
  • Posted on June 18, 2021June 19, 2021
  • Array

LeetCode 1874. Minimize Product Sum of Two Arrays

Description https://leetcode.com/problems/all-paths-from-source-to-target/ The product sum of two equal-length arrays a and b is equal to the sum of a[i] * b[i] for all 0 <= i < a.length (0-indexed). For…

Continue Reading
  • Posted on June 17, 2021June 17, 2021
  • Graph

LeetCode 797. All Paths From Source to Target

Description https://leetcode.com/problems/all-paths-from-source-to-target/ Given a directed acyclic graph (DAG) of n nodes labeled from 0 to n – 1, find all possible paths from node 0 to…

Continue Reading
  • Posted on June 16, 2021June 16, 2021
  • Database

LeetCode 1890. The Latest Login in 2020

Description https://leetcode.com/problems/the-latest-login-in-2020/ SQL Schema Table: Logins +—————-+———-+ | Column Name | Type | +—————-+———-+ | user_id | int | | time_stamp…

Continue Reading
  • Posted on June 15, 2021June 15, 2021
  • Database

LeetCode 1873. Calculate Special Bonus

Description https://leetcode.com/problems/calculate-special-bonus/ SQL Schema Table: Employees +————-+———+ | Column Name | Type | +————-+———+ | employee_id | int | | name…

Continue Reading
  • Posted on June 13, 2021June 13, 2021
  • Graph

LeetCode 323. Number of Connected Components in an Undirected Graph

Description https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph/ You have a graph of n nodes. You are given an integer n and an array edges where edges[i] = [ai, bi] indicates that there is…

Continue Reading
  • Posted on June 13, 2021June 13, 2021
  • LeetCode

LeetCode 1624. Largest Substring Between Two Equal Characters

Description https://leetcode.com/problems/largest-substring-between-two-equal-characters/ Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If there…

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

LeetCode 409. Longest Palindrome

Description https://leetcode.com/problems/longest-palindrome/ Given a string s which consists of lowercase or uppercase letters, return the length of the longest palindrome that can be built with…

Continue Reading
  • Posted on June 10, 2021June 10, 2021
  • LeetCode

LeetCode 682. Baseball Game

Description https://leetcode.com/problems/baseball-game/ You are keeping score for a baseball game with strange rules. The game consists of several rounds, where…

Continue Reading
  • Posted on June 9, 2021June 9, 2021
  • LeetCode

LeetCode 1880. Check if Word Equals Summation of Two Words

Description https://leetcode.com/problems/check-if-word-equals-summation-of-two-words/ The letter value of a letter is its position in the alphabet starting from 0 (i.e. ‘a’ -> 0, ‘b’ -> 1, ‘c’ -> 2,…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 10 Page 11 Page 12 … Page 56 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