Skip to content
TutorialCup
  • Home
  • Tutorials
    • C
    • C++
    • DBMS
    • Java
    • Python
    • SQL
    • Testing
    • GitHub
    • Spring Boot
    • R
    • JavaScript
  • Interviews
    • Technical Interview Questions
    • Interview Questions

TutorialCup

  • Home
  • Tutorials
    • C
    • C++
    • DBMS
    • Java
    • Python
    • SQL
    • Testing
    • GitHub
    • Spring Boot
    • R
    • JavaScript
  • Interviews
    • Technical Interview Questions
    • Interview Questions

Intersection of Two Arrays II Leetcode Solution

Problem Statement In this problem two arrays are given and we have to find out the intersection of this two arrays and return the resultant array. Each element in the result should appear as many times as it shows in both arrays. The result can be in any order. Example …

Read moreIntersection of Two Arrays II Leetcode Solution

Categories LeetCode Solutions Tags Amazon, Easy, Facebook, Google, HashMap, Oracle, Sorting, Two Pointers

Jewels and Stones Leetcode Solution

The problem Jewels and Stones Leetcode Solution states that you are given two strings. One of them represents jewels and one of them represents stones. The string that contains jewels represents the characters that are jewels. We need to find the number of characters in the stones string that are …

Read moreJewels and Stones Leetcode Solution

Categories LeetCode Solutions Tags Adobe, Amazon, Apple, Easy, Facebook, Google, HashMap, Microsoft, Yahoo

Shortest Completing Word Leetcode Solution

The problem Shortest Completing Word Leetcode Solution states that you are given a license plate and an array of os strings. You need to find the shortest completing word. A competing word is defined as a word that has all the alphabets in the license plate (case insensitive). The frequency …

Read moreShortest Completing Word Leetcode Solution

Categories LeetCode Solutions Tags Easy, Google, HashMap

Relative Sort Array Leetcode Solution

In this problem, we are given two arrays of positive integers. All elements of the second array are distinct and are present in the first array. However, the first array can contain duplicate elements or elements that are not in the second array. We need to sort the first array …

Read moreRelative Sort Array Leetcode Solution

Categories LeetCode Solutions Tags Adobe, Amazon, Array, DE Shaw, Easy, eBay, Google, HashMap, Microsoft, Sorting

HashMap methods Java

HashMap Class in Java stores the data in the form of key-value pairs where the key data should be unique. We can access the values based on the corresponding key data. HashMap is present in Java’s Collection framework and is part of java.util package. It works on the principle of …

Read moreHashMap methods Java

Categories Java Tutorial Tags HashMap, Java, Java Map

Search




© TutorialCup 2021 | Feeds | Privacy Policy | Terms | Contact Us | Linkedin | About Us
Scroll back to top