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

Category: LeetCode

  • Posted on May 22, 2021May 22, 2021
  • Greedy

LeetCode 1710. Maximum Units on a Truck

Description https://leetcode.com/problems/maximum-units-on-a-truck/ You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes, where boxTypes[i]…

Continue Reading
  • Posted on May 21, 2021May 21, 2021
  • Binary Tree

LeetCode 654. Maximum Binary Tree

Description https://leetcode.com/problems/all-elements-in-two-binary-search-trees/ You are given an integer array nums with no duplicates. A maximum binary tree can be built recursively from nums using the following algorithm:…

Continue Reading
  • Posted on May 21, 2021May 21, 2021
  • Database

LeetCode 1468. Calculate Salaries

Description https://leetcode.com/problems/calculate-salaries/ SQL Schema Table Salaries: +—————+———+ | Column Name | Type | +—————+———+ | company_id | int | | employee_id…

Continue Reading
  • Posted on May 21, 2021May 21, 2021
  • LeetCode

LeetCode 1381. Design a Stack With Increment Operation

Description https://leetcode.com/problems/design-a-stack-with-increment-operation/ Design a stack which supports the following operations. Implement the CustomStack class: CustomStack(int maxSize) Initializes the object with maxSize which is the maximum…

Continue Reading
  • Posted on May 20, 2021May 20, 2021
  • LeetCode

LeetCode 1836. Remove Duplicates From an Unsorted Linked List

Description https://leetcode.com/problems/remove-duplicates-from-an-unsorted-linked-list/ Given the head of a linked list, find all the values that appear more than once in the list and delete the…

Continue Reading
  • Posted on May 19, 2021May 19, 2021
  • LeetCode

LeetCode 360. Sort Transformed Array

Description https://leetcode.com/problems/sort-transformed-array/ Given a sorted integer array nums and three integers a, b and c, apply a quadratic function of the form f(x) = ax2 + bx + c to each…

Continue Reading
  • Posted on May 18, 2021May 18, 2021
  • LeetCode

LeetCode 280. Wiggle Sort

Description https://leetcode.com/problems/wiggle-sort/ Given an integer array nums, reorder it such that nums[0] <= nums[1] >= nums[2] <= nums[3]…. You may assume the…

Continue Reading
  • Posted on May 17, 2021May 17, 2021
  • LeetCode

LeetCode 451. Sort Characters By Frequency

Description https://leetcode.com/problems/sort-characters-by-frequency/ Given a string s, sort it in decreasing order based on the frequency of characters, and return the sorted string.…

Continue Reading
  • Posted on May 17, 2021May 17, 2021
  • LeetCode

LeetCode 1859. Sorting the Sentence

Description https://leetcode.com/problems/sorting-the-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 May 16, 2021May 16, 2021
  • Backtracking

LeetCode 1863. Sum of All Subset XOR Totals

Description https://leetcode.com/problems/sum-of-all-subset-xor-totals/ The XOR total of an array is defined as the bitwise XOR of all its elements, or 0 if the array is empty. For example, the XOR…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 13 Page 14 Page 15 … Page 59 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