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, 2020April 11, 2020
  • Bit Manipulation

LeetCode 190. Reverse Bits

Description https://leetcode.com/problems/reverse-bits/ Reverse bits of a given 32 bits unsigned integer. Example 1: Input: 00000010100101000001111010011100 Output: 00111001011110000010100101000000 Explanation: The input…

Continue Reading
  • Posted on April 11, 2020April 11, 2020
  • Bit Manipulation

LeetCode 191. Number of 1 Bits

Description https://leetcode.com/problems/number-of-1-bits/ Write a function that takes an unsigned integer and return the number of ‘1’ bits it has (also known as…

Continue Reading
  • Posted on April 11, 2020April 11, 2020
  • Bit Manipulation

LeetCode 461. Hamming Distance

Description https://leetcode.com/problems/hamming-distance/ The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two…

Continue Reading
  • Posted on April 10, 2020April 10, 2020
  • LeetCode

LeetCode 326. Power of Three

Description https://leetcode.com/problems/power-of-three/ Given an integer, write a function to determine if it is a power of three. Example 1: Input:…

Continue Reading
  • Posted on April 10, 2020December 14, 2021
  • Dynamic Programming

LeetCode 204. Count Primes

Description https://leetcode.com/problems/count-primes/ Given an integer n, return the number of prime numbers that are strictly less than n. Example 1: Input: n =…

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

LeetCode 108. Convert Sorted Array to Binary Search Tree

Description https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/ Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For…

Continue Reading
  • Posted on April 10, 2020September 30, 2020
  • Array

LeetCode 268. Missing Number

Description https://leetcode.com/problems/missing-number/ Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from…

Continue Reading
  • Posted on April 10, 2020April 10, 2020
  • Dynamic Programming

LeetCode 118. Pascal’s Triangle

Description https://leetcode.com/problems/pascals-triangle/ Given a non-negative integer numRows, generate the first numRows of Pascal’s triangle. In Pascal’s triangle, each number is the sum of…

Continue Reading
  • Posted on April 10, 2020September 22, 2021
  • LeetCode

LeetCode 844. Backspace String Compare

Description https://leetcode.com/problems/backspace-string-compare/ Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example…

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

LeetCode 876. Middle of the Linked List

Description https://leetcode.com/problems/middle-of-the-linked-list/ Given a non-empty, singly linked list with head node head, return a middle node of linked list. If there are two middle…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 50 Page 51 Page 52 … 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