It is carried out using the functions namely addBatch() and executeBatch() methods. For that lets us do have a prior understanding of JDBC drivers. So,… Read More

All Hard Articles

Amazon conducted a recruitment drive for a group of Colleges. The process consisted of 3 rounds: One Online Test followed by 2 Technical Interview Rounds.… Read More

Given a matrix grid[][] of size N x N, the task is to find the minimum cost required to reach the bottom right corner of… Read More

Question 1. Draw a quadrilateral in the Cartesian plane, whose vertices are (– 4, 5), (0, 7), (5, – 5), and (– 4, –2). Also,… Read More

The following example covers how to pass variables to the next middleware using next() in Express.js. Approach: We cannot directly pass data to the next… Read More

In each of the Exercises 1 to 6, find the coordinates of the foci and the vertices, the eccentricity and the length of the latus… Read More

Solve the following system of inequalities graphically: Question 1: x ≥ 3, y ≥ 2 Solution: For equation 1: Now draw a solid line x… Read More

Given a 2D array Arr[][] consisting of N rows and two persons A and B playing a game of alternate turns based on the following… Read More

Introduction :The computer is an intelligent combination of software and hardware. Hardware is simply a piece of mechanical equipment and its functions are being compiled… Read More

Given a binary string S of length N, the task is to find the winner of the game if two players A and B plays… Read More

Given an array arr[] consisting of N integers and two players A and B playing a game together by performing the following operations: Choose an… Read More

Given a positive number N, the task is to find the sum of the first (N + 1) Fibonacci Numbers. Examples: Input: N = 3Output:… Read More

HashedIn Technologies visited our campus in November 2020(virtually). They conducted 4 rounds of interview. Round 1 (Coding Test): This round was held on their own… Read More

Given an array arr[] of size N and an integer K, the task to find the maximum number of array elements that can be reduced… Read More

Given a string str and an integer K, the task is to find the length of the longest substring S such that every character in… Read More

Media.net campus drive took place in December 2020. Round 1(90 min Coding Test): 3 questions were there. Generate a tree given postorder and inorder traversals.… Read More

NodeJs: An open-source platform for executing javascript code on the server-side. Also, a javascript runtime built on Chrome’s V8 JavaScript engine. It can be downloaded… Read More

Given an integer N, denoting the number of computers connected by cables forming a network and a 2D array connections[][], with each row (i, j)… Read More

Given an integer N, the task is to count the number of distinct prime triplets (a, b, c) from the range [1, N] such that… Read More

A sidebar is an important element of a website’s design since it allows users to quickly visit any section within a site. A glimpse of… Read More