About 92,000 results
Open links in new tab
  1. Remove Element - LeetCode

    The problem statement clearly asks us to modify the array in-place and it also says that the element beyond the new length of the array can be anything. Given an element, we need to …

  2. Remove Duplicates from Sorted Array - LeetCode

    Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be …

  3. Remove Linked List Elements - LeetCode

    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 == val, and return the new head.

  4. - LeetCode

    Can you solve this real interview question? - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

  5. Find Minimum Cost to Remove Array Elements - LeetCode

    Your task is to remove all elements from the array by performing one of the following operations at each step until nums is empty: Choose any two elements from the first three elements of nums …

  6. Removing Minimum and Maximum From Array - LeetCode

    A deletion is defined as either removing an element from the front of the array or removing an element from the back of the array. Return the minimum number of deletions it would take to …

  7. Remove Element - LeetCode

    Remove Element - Given an integer array nums and an integer val, remove all occurrences of val in nums in-place [https://en.wikipedia.org/wiki/In-place_algorithm].

  8. Remove K Digits - LeetCode

    Example 2: Input: num = "10200", k = 1 Output: "200" Explanation: Remove the leading 1 and the number is 200. Note that the output must not contain leading zeroes.

  9. Insert Delete GetRandom O (1) - LeetCode

    Each element must have the same probability of being returned. You must implement the functions of the class such that each function works in average O (1) time complexity.

  10. Remove Element - LeetCode

    Remove Element - Given an integer array nums and an integer val, remove all occurrences of val in nums in-place [https://en.wikipedia.org/wiki/In-place_algorithm].