All Hard Articles
In Python, exploratory data analysis, or EDA, is a crucial step in the data analysis process that involves studying, exploring, and visualizing information to derive… Read More
The number of nodes of height h in any n – element heap is __________. (A) h (B) 2h (C) ceil(n/2h)/ (D) ceil(n/2h+1) Answer: (D)Explanation:Quiz… Read More
Round 1: It was the written test comprising of Aptitude, Technical questions on OS and Compunter Networks. Round 2: this is technical round. duration will… Read More
Prerequisite – Computer Network | TCP Timers Calculating Time out timer (TOT) at transport layer is tricky as propagation delay is not constant i.e. path… Read More
The Strassen’s method of matrix multiplication is a typical divide and conquer algorithm. We have discussed Strassen’s Algorithm here. However, let’s get again on what’s… Read More
Java applets are application that can be executed in web browsers or applet viewers . We can draw shapes on the Java applet. In this… Read More
Given a binary tree, the task is to find the distance between two keys in a binary tree, no parent pointers are given. Distance between… Read More
This interview was for the SDE-2 position for logistic management department of amazon. I had applied for this job on naukari.com. Round 1: There was… Read More
Given a sequence of words, and a limit on the number of characters that can be put in one line (line width). Put line breaks… Read More
The logic operations of two combinational circuits in Figure-I and Figure-II are (A) entirely different (B) identical (C) complementary (D) dual Answer: (A) Explanation: The… Read More
Round 1: This round was paper based test. It includes Data Structure, Algorithms, C output, Operating System, DBMS, Unix, Aptitude, Puzzles Tip : If you are preparing… Read More
A comparator, with additional methods to support common operations. This is an “enriched” version of Comparator. The common ways to get an instance of Ordering… Read More
Problem – Write an assembly language program for calculating the sum of first n natural numbers using 8085 microprocessor. Example – Input : 04H Output… Read More
Given a binary tree, the task is to find the distance between two keys in a binary tree, no parent pointers are given. The distance… Read More
Given a string of length n having parentheses in it, your task is to find whether given string has balanced parentheses or not. Please note… Read More
JDialog is a part Java swing package. The main purpose of the dialog is to add components to it. JDialog can be customized according to… Read More
Round 1: Given an array and an operation -> foo(index, value), the value can be either 1 or -1, if foo(index, value) is called, it will… Read More
Given an array arr[] of size N, find the maximum difference between its two consecutive elements in its sorted form. Examples:  Input: N = 3,… Read More
A 10 x 10 Crossword grid is provided, along with a set of words (or names of places) which need to be filled into the… Read More
BigIntegerMath is used to perform mathematical operations on BigInteger values. Basic standalone math functions are divided into the classes IntMath, LongMath, DoubleMath, and BigIntegerMath based… Read More