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

  • Posted on April 13, 2021April 13, 2021
  • Array

LeetCode 830. Positions of Large Groups

Description https://leetcode.com/problems/positions-of-large-groups/ In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string…

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

LeetCode 219. Contains Duplicate II

Description https://leetcode.com/problems/contains-duplicate-ii/ Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and abs(i -…

Continue Reading
  • Posted on April 13, 2021
  • LeetCode

LeetCode 203. Remove Linked List Elements

Description https://leetcode.com/problems/remove-linked-list-elements/ Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val…

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

LeetCode 414. Third Maximum Number

Description https://leetcode.com/problems/third-maximum-number/ Given integer array nums, return the third maximum number in this array. If the third maximum does not exist, return…

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

LeetCode 170. Two Sum III – Data structure design

Description https://leetcode.com/problems/two-sum-iii-data-structure-design/ Design a data structure that accepts a stream of integers and checks if it has a pair of…

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

LeetCode 434. Number of Segments in a String

Description https://leetcode.com/problems/number-of-segments-in-a-string/ You are given a string s, return the number of segments in the string.  A segment is defined to be a contiguous…

Continue Reading
  • 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

Posts navigation

Page 1 Page 2 … Page 32 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (365)
    • Array (123)
    • Backtracking (10)
    • Binary Search (14)
    • Binary Tree (32)
    • Bit Manipulation (12)
    • Database (20)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (17)
    • Math (27)
    • Recursion (1)
    • Sorting (7)
    • Stack (10)
    • String (55)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress