All Basic Articles
The createNewFile() function is a part of File class in Java . This function creates new empty file. The function returns true if the abstract… Read More
The problem of inserting a number at any index is a quite common one. But sometimes we require to insert the whole list into another… Read More
Python provides a library named keyboard which is used to get full control of the keyboard. It’s a small Python library which can hook global… Read More
Unordered_set provides two operators in C++ STL. These are: Syntax:   1. (unordered_set &lhs == unordered_set &rhs) 2. (unordered_set &lhs != unordered_set &rhs) These operators are discussed… Read More
Given an encrypted string str and the encryption algorithm, the task is to decrypt the string. The encryption algorithm is as follows: The 1st character of… Read More
Given here are two positive numbers a and b. The task is to print the least common multiple of a’th and b’th Fibonacci Numbers.The first… Read More
Shorts.compare() method of Guava’s Shorts Class is used to compare the two specified short values. These values are passed as the parameter and the result… Read More
Given an array arr[] of N integers, the task is to find an element x from the array such that |arr[0] – x| + |arr[1]… Read More
The fontSize property is used to set or get the font size of characters in a word should appear.  Syntax: It returns the fontSize property.… Read More
In Java’s multi-threading concept, start() and run() are the two most important methods. Below are some of the differences between the Thread.start() and Thread.run() methods:… Read More
Given an array of N elements, the task is to find all the unique pairs that can be formed using the elements of a given… Read More
The compare() method of Booleans Class in the Guava library is used to compare the two specified boolean values. These values are passed as the… Read More
locate command in Linux is used to find the files by name. There are two most widely used file-searching utilities accessible to users called to… Read More
This article shows how to create an android application to move from one activity to another. Below are the steps for Creating a Simple Android… Read More
Given an integer K and an array arr[] of N integers which contains the ids of the opened apps in a system where  arr[0] is… Read More
Printing the list has been dealt many times. But sometimes we need a different format to get the output of list. This also has application… Read More
Given string str consisting of only the characters ‘a’ and ‘b’, the task is to check whether the string is valid or not. In a… Read More
While working with data in Pandas, we perform a vast array of operations on the data to get the data in the desired form. One… Read More
Decision making in programming is similar to decision making in real life. In decision making, a piece of code is executed when the given condition… Read More
C#
bzip2 command in Linux is used to compress and decompress the files i.e. it helps in binding the files into a single file which takes… Read More