All Medium Articles
To Calculate the number of days between two dates in JavaScript we use the Date object and perform some basic arithmetic with milliseconds. The below… Read More
Using the doit() method in sympy module, we can evaluate objects that are not evaluated by default like limits, integrals, sums and products. Note that… Read More
These functions do not need to include any header file to use them. So it provides faster usage, as these are Built-in functions of GCC… Read More
In this article, we will learn about VERBOSE flag of the re package and how to use it. re.VERBOSE : This flag allows you to… Read More
Given a 2-D matrix mat[][], the task is to print it in the spiral form.Examples:   Input: mat[][] = { {1, 2, 3, 4}, {5, 6, 7, 8}, {9,… Read More
Round 1 (Online) Time duration – 1Hr 30min Number of Questions – 45 Sections Mathematics (6 MCQs) – Aptitude Computer science (10 MCQs) – OS,… Read More
In C#, Regular Expression is a pattern which is used to parse and check whether the given input text is matching with the given pattern… Read More
C#
Given a tree with N nodes and N-1 edges with root at 1 and given an array of N-1 integers. The task is to assign… Read More
Given an array a of size N and an integer K, the task is to divide the array into K segments such that sum of… Read More
Implement a dictionary using Trie such that if the input is a string representing a word, the program prints its meaning from the prebuilt dictionary. … Read More
Data science is an interdisciplinary field that uses scientific methods, processes, algorithms, and systems to extract knowledge and insights from structured and unstructured data. It… Read More
In Windows Forms, ListBox control is used to show multiple elements in a list, from which a user can select one or more elements and… Read More
C#
Given a binary array arr[], the task is to find the length of the longest sub-array of the given array such that if the sub-array… Read More
PIL is the Python Imaging Library which provides the python interpreter with image editing capabilities. The PixelAccess class provides read and write access to PIL.Image… Read More
Round 1: It consisted of a written test, which had 50 aptitude questions (quants and Java programming related questions). It also had one Coding question… Read More
Problem Statement: Build a predictive Model for the shipping company, to find an estimate of how many Crew members a ship requires. The dataset contains… Read More
Round 1: Aptitude and coding exam on paper.If you perform good in those exams, you will be called for HR round. Round 2: In this… Read More
The Path interface was added to Java NIO in Java 7. The Path interface is located in the java.nio.file package, so the fully qualified name… Read More
Given a sorted array of N integers. The task is to find the longest subsequence such that every element in the subsequence is reachable by… Read More