Moumita

Moumita

113 Articles Published

Articles by Moumita

Page 12 of 12

Which one is faster Array or List in Java

Moumita
Moumita
Updated on 30-Jul-2019 953 Views

The array is faster in case of access to an element while List is faster in case of adding/deleting an element from the collection.

Read More

What does 'using namespace std' mean in C++?

Moumita
Moumita
Updated on 30-Jul-2019 12K+ Views

Consider a situation, when we have two persons with the same name, Piyush, in the same class. Whenever we need to differentiate them definitely we would have to use some additional information along with their name, like either the area, if they live in a different area or their mother’s or father’s name, etc.The same situation can arise in your C++ applications. For example, you might be writing some code that has a function called xyz() and there is another library available which is also having same function xyz(). Now the compiler has no way of knowing which version of ...

Read More

Identify all duplicates irrespective of the order of the input

Moumita
Moumita
Updated on 30-Jul-2019 150 Views

Indeed your problem is weird as the order is not fixed otherwise it was a straightforward requirement.In order to get your task done, you need to search in all names individually and to be sure that you don’t get the entries which are super set of your search, you need to place a length check as well.For e.g.: if there exists a entry with ‘Johnny Rambo’, it should not be returned as it contains John as well as Rambo. I hope you got my pointYou can place a filter like ('%' + name1 + '%') AND field = ('%' + ...

Read More
Showing 111–113 of 113 articles
« Prev 1 8 9 10 11 12 Next »
Advertisements