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

  • Posted on March 20, 2020March 20, 2020
  • Array

LeetCode 189. Rotate Array

Description https://leetcode.com/problems/rotate-array/ Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k…

Continue Reading
  • Posted on March 17, 2020March 19, 2020
  • Array

LeetCode 217. Contains Duplicate

Description https://leetcode.com/problems/contains-duplicate/ Given an array of integers, find if the array contains any duplicates. Your function should return true if…

Continue Reading
  • Posted on March 17, 2020August 31, 2021
  • Array

LeetCode 66. Plus One

Description https://leetcode.com/problems/plus-one/ You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are…

Continue Reading
  • Posted on March 15, 2020January 18, 2021
  • LeetCode

LeetCode 344. Reverse String

Description https://leetcode.com/problems/reverse-string/ Write a function that reverses a string. The input string is given as an array of characters char[]. Do…

Continue Reading
  • Posted on February 23, 2020July 27, 2021
  • Array

LeetCode 53. Maximum Subarray

Description https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum…

Continue Reading
  • Posted on December 29, 2018January 26, 2021
  • Dynamic Programming

LeetCode 70. Climbing Stairs

Description https://leetcode.com/problems/climbing-stairs/ You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In…

Continue Reading
  • Posted on August 26, 2018July 8, 2021
  • LeetCode

LeetCode 387. First Unique Character in a String

Description Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return…

Continue Reading
  • Posted on August 18, 2018August 17, 2021
  • LeetCode

LeetCode 84. Largest Rectangle in Histogram

Description https://leetcode.com/problems/largest-rectangle-in-histogram/ Given an array of integers heights representing the histogram’s bar height where the width of each bar is 1, return the area…

Continue Reading
  • Posted on June 2, 2018February 2, 2021
  • Dynamic Programming

LeetCode 139. Word Break

Description Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or more…

Continue Reading
  • Posted on May 12, 2018January 16, 2021
  • Binary Tree

LeetCode 102. Binary Tree Level Order Traversal

Description https://leetcode.com/problems/binary-tree-level-order-traversal/ Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 53 Page 54 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