Skip to content

Find Elements Which Are Present In First Array And Not In Second

Notifications You must be signed in to change notification settings

TheQueryCrew/P8-FindElement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find Elements Which Are Present In First Array And Not In Second

Given two arrays, the task is that we find numbers which are present in first array, but not present in the second array.

Input:

a[] = {1, 2, 3, 4, 5, 10};
b[] = {2, 3, 1, 0, 5};

Output:

Output: 4, 10   

Time Complexity:

O(n^2)

About

Find Elements Which Are Present In First Array And Not In Second

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published