All Hard Articles
Cryptography is a technique of securing information and communications through the use of codes so that only those person for whom the information is intended… Read More
Given an array of strings words[] and the sequential order of alphabets, our task is to sort the array according to the order given. Assume… Read More
Given a matrix mat[][] and two integers K and S, the task is to count all K x K sub-matrix such that the sum of… Read More
Given weights and profits of N items, put these items in a knapsack of capacity W. The task is to print all possible solutions to… Read More
Given a matrix of size N x M consisting of integers 1, 2, 3 and 4. Each value represents the possible movement from that cell:  1… Read More
Given two numbers A and B, the task is to check that A and B are in the golden ratio.Golden Ratio: Two numbers are said… Read More
Given a non-empty sequence S and a dictionary dict[] containing a list of non-empty words, print all possible ways to break the sentence in individual… Read More
Given a positive integer N, the task is to find the sum of the series 1 – (1/2) + (1/3) – (1/4) +…. (1/N) using… Read More
In this article, we will know about Javascript & Python, the purpose of their usage, along with knowing the difference between them.  Python: Python is a… Read More
A Tri-Surface Plot is a type of surface plot, created by triangulation of compact surfaces of finite number of triangles which cover the whole surface… Read More
Given string str, the task is to find the longest palindromic substring formed by the concatenation of the prefix and suffix of the given string… Read More
Given a number N, the task is to find the sum of all N-digit palindromic numbers which are divisible by 9 and the number doesn’t… Read More
Given an array arr[] containing N non-negative integers, the task is to sort these integers alphabetically when each number is converted into words. Examples:   Input:… Read More
Python is a great language for making data-based analyses and visualizations. It also has a wide range of open-source libraries that can be used off… Read More
HDFS: Hadoop Distributed File System is a distributed file system designed to store and run on multiple machines that are connected to each other as… Read More
The choices() method returns multiple random elements from the list with replacement. You can weigh the possibility of each result with the weights parameter or… Read More
Given an array of integers arr[], the task is to maximize the product of the digit sum of every consecutive pair in a subsequence of… Read More
MongoDB $mul or multiple operator is a type of field update operator. $mul operator multiplies the value of the field by a number. Important Points$mul… Read More
MongoDB provides different types of field update operators to update the values of the fields of the documents that matches the specified condition. The following… Read More