All Hard Articles
There were two rounds of interviews. Both were technical. Round-1 (Technical): There were two algorithmic questions asked in this interview, and we can implement the… Read More
In Java, we know both Stack and Heap space are part of Java Virtual Machine (JVM). However, these memory spaces are used for different purposes.… Read More
Pandas support two data structures for storing data the series (single column) and dataframe where values are stored in a 2D table (rows and columns).… Read More
Given a String, extract all unique substrings with their frequency. Input : test_str = “ababa”  Output : {‘a’: 3, ‘ab’: 2, ‘aba’: 2, ‘abab’: 1,… Read More
PostgreSQL API for Python allows user to interact with the PostgreSQL database using the psycopg2 module. In this article we will look into the process… Read More
Given an array arr[] of N integers, where N is an even number. The task is to divide the given N integers into two equal… Read More
Dijkstra’s algorithm is one of the most popular algorithms for solving many single-source shortest path problems having non-negative edge weight in the graphs i.e., it… Read More
Given an integer array arr of length N and an integer K, the task is to find the number of array elements to be replaced… Read More
Let’s see the program to compute the cross product of two given vectors using NumPy. For finding the cross product of two given vectors we… Read More
In this article, Let’s see how to add one polynomial to another. Two polynomials are given as input and the result is the addition of… Read More
Let’s discuss how to flatten a Matrix using NumPy in Python. By using ndarray.flatten() function we can flatten a matrix to one dimension in python.… Read More
Given two integers N, M denoting N×M chessboard, the task is to count the number of ways a knight can reach (N, M) starting from… Read More
Given a string, the task is to find its corresponding datatype using regular expression in java. We can broadly classify all data types into following… Read More
The Node.js HTTP API is low-level so that it could support the HTTP applications. In order to access and use the HTTP server and client,… Read More
Given the day, month, and year, the task is to find the corresponding day of the week using SimpleDateFormat class in Java. Examples Input: 11-08-2020… Read More
Given a character matrix arr[][] of dimensions 3 * N, consisting of three characters {#, *, . }, the task is to find the vowels(A,… Read More
Given an array S[] consisting of the lengths of the 6 sides of a Hexagon, the task is to calculate the number of equilateral triangles… Read More
The entire placement procedure for Commvault took place in 4 rounds for which 1500+ students were shortlisted. In the beginning, they asked us to choose… Read More
VIT Vellore 2021 Batch , I recently got Placed in D.E. Shaw & Co. through an On Campus Drive. Here I am Sharing My complete… Read More
Covariance: In PHP, the return type of method which belongs to the child can be more specific compared to the return type of method of… Read More