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

  • Posted on April 11, 2021April 11, 2021
  • LeetCode

LeetCode 1816. Truncate Sentence

Description https://leetcode.com/problems/truncate-sentence/ A sentence is a list of words that are separated by a single space with no leading or trailing spaces.…

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

LeetCode 1588. Sum of All Odd Length Subarrays

Description https://leetcode.com/problems/sum-of-all-odd-length-subarrays/ Given an array of positive integers arr, calculate the sum of all possible odd-length subarrays. A subarray is a…

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

LeetCode 1469. Find All The Lonely Nodes

Description https://leetcode.com/problems/find-all-the-lonely-nodes/ In a binary tree, a lonely node is a node that is the only child of its parent node. The…

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

LeetCode 1720. Decode XORed Array

Description https://leetcode.com/problems/decode-xored-array/ There is a hidden integer array arr that consists of n non-negative integers. It was encoded into another integer array encoded of length n – 1, such…

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

LeetCode 1773. Count Items Matching a Rule

Description https://leetcode.com/problems/count-items-matching-a-rule/ You are given an array items, where each items[i] = [typei, colori, namei] describes the type, color, and name of the ith item.…

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

LeetCode 1346. Check If N and Its Double Exist

Description https://leetcode.com/problems/check-if-n-and-its-double-exist/ Given an array arr of integers, check if there exists two integers N and M such that N is the double of M ( i.e. N = 2 *…

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

LeetCode 1805. Number of Different Integers in a String

Description https://leetcode.com/problems/number-of-different-integers-in-a-string/ You are given a string word that consists of digits and lowercase English letters. You will replace every non-digit character…

Continue Reading
  • Posted on April 7, 2021July 31, 2021
  • Array

LeetCode 989. Add to Array-Form of Integer

Description https://leetcode.com/problems/add-to-array-form-of-integer/ The array-form of an integer num is an array representing its digits in left to right order. For example, for num = 1321,…

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

LeetCode 345. Reverse Vowels of a String

Description https://leetcode.com/problems/reverse-vowels-of-a-string/ Given a string s, reverse only all the vowels in the string and return it. The vowels are ‘a’, ‘e’, ‘i’, ‘o’, and ‘u’,…

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

LeetCode 1018. Binary Prefix Divisible By 5

Description https://leetcode.com/problems/binary-prefix-divisible-by-5/ Given an array A of 0s and 1s, consider N_i: the i-th subarray from A[0] to A[i] interpreted as a binary number (from most-significant-bit to least-significant-bit.) Return a…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 23 Page 24 Page 25 … 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