All Basic Articles
Given a linked list, the task is to remove the first node of the linked list and update the head pointer of the linked list. … Read More
Prerequisites: Object-Oriented Programming in Python, Object-Oriented Programming in Python | Set 2 Constructors are generally used for instantiating an object. The task of constructors is to… Read More
Given an array arr[] containing N numbers. The task is to check whether the bitwise-OR of the given N numbers is even or odd. Examples: … Read More
Python Tuples In python tuples are used to store immutable objects. Python Tuples are very similar to lists except to some situations. Python tuples are… Read More
Given a string with white spaces, the task is to remove all white spaces from a string using Java built-in methods.  Examples: Input: str =… Read More
range() : Python range function generates a list of numbers which are generally used in many situation for iteration as in for loop or in… Read More
List Comprehension are one of the most amazing features of Python. It is a smart and concise way of creating lists by iterating over an… Read More
Java does not support “directly” nested methods. Many functional programming languages support method within method. But you can achieve nested method functionality in Java 7… Read More
Given two integers ‘N’ and ‘K’, the task is to count the number of triplets (a, b, c) of positive integers not greater than ‘N’… Read More
Given a tree check if it is linear or not. 1 / \ 2 3 Linear as we can form a line 2 1 3… Read More
Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric Python packages. Pandas is one of those packages… Read More
Lemmatization is a fundamental text pre-processing technique widely applied in natural language processing (NLP) and machine learning. Serving a purpose akin to stemming, lemmatization seeks… Read More
numpy.squeeze() function is used when we want to remove single-dimensional entries from the shape of an array. Syntax : numpy.squeeze(arr, axis=None ) Parameters : arr… Read More
Using import * in python programs is considered a bad habit because this way you are polluting your namespace, the import * statement imports all… Read More
Given a TreeSet in Java, task is to sort elements of TreeSet in Descending Order (descreasing order).Examples:  Input : Set: [2, 3, 5, 7, 10,… Read More
Given an array A containing n integers. The task is to check whether the array is Monotonic or not. An array is monotonic if it… Read More
Given two sentences as strings A and B. The task is to return a list of all uncommon words. A word is uncommon if it… Read More
Given a Stream, the task is to convert this Stream into ArrayList in Java 8. Examples: Input: Stream: [1, 2, 3, 4, 5] Output: ArrayList:… Read More
Big Data includes huge volume, high velocity, and extensible variety of data. There are 3 types: Structured data, Semi-structured data, and Unstructured data.   Structured data… Read More
Given an array arr[] of N positive integers. The task is to find the minimum and maximum prime elements in the given array.  Examples: Input:… Read More