Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Find maximum array sum after making all elements same with repeated subtraction
Given an array of n elements, find out the maximum possible sum of all elements such that all the elements are equal. Only operation allowed is choosing any two elements a...
Read More
Arrays
GCD-LCM
DSA
Weighted Prefix Search
Given n strings and a weight associated with each string. The task is to find the maximum weight of string having the given prefix. Print "-1" if no string is present with...
Read More
Trie
Advanced Data Structure
DSA
Find three element from different three arrays such that a + b + c = sum
Given three integer arrays and a "sum", the task is to check if there are three elements a, b, c such that a + b + c = sum and a, b and c belong to three different arrays....
Read More
Arrays
Hash
DSA
Maximum determinant of a matrix with every values either 0 or n
We have given a positive number n, and we have to find a 3*3 matrix which can be formed with combination of 0 or n and has maximum determinant.Examples :Input : n = 3 Outp...
Read More
Matrix
DSA
Eze Software Interview Experience | Set 1
The recruiter approached me via linkedin and sent me an Hackerrank test. After clearing it, i was invited for f2f interviews at their Hyderabad office.F2F-1 : With One lea...
Read More
Interview Experiences
Experienced
Eze-Software
Experiences
Why to use char[] array over a string for storing passwords in Java?
1. Strings are immutable:Strings are immutable in Java and therefore if apassword is stored as plain text it will be available in memory until Garbage collector clears it ...
Read More
Java
Java-Array-Programs
Java-String-Programs
Check whether Arithmetic Progression can be formed from the given array
Given an array of n integers. The task is to check whether an arithmetic progression can be formed using all the given elements. If possible print "Yes", else print "No".E...
Read More
Arrays
Sorting
Hash
arithmetic progression
DSA
Java.io.FilePermission Class in Java
java.io.FilePermission class is used to represent access to a file or a directory. These accesses are in the form of a path name and a set of actions associated to the pa...
Read More
Java
Java-I/O
Total number of Spanning Trees in a Graph
If a graph is a complete graph with n vertices, then total number of spanning trees is n(n-2) where n is the number of nodes in the graph. In complete graph, the task is e...
Read More
Graph
MST
DSA
Image Processing in Java - Changing Orientation of Image
Prerequisites:Image Processing in Java - Read and WriteImage Processing In Java - Get and Set PixelsImage Processing in Java - Colored Image to Grayscale Image ConversionI...
Read More
Java
Image-Processing
Chinese Postman or Route Inspection | Set 1 (introduction)
Chinese Postman Problem is a variation of Eulerian circuit problem for undirected graphs. An Euler Circuit is a closed walk that covers every edge once starting and ending...
Read More
Graph
Euler-Circuit
DSA
GATE | GATE 2017 MOCK II | Question 65
In public key and private key cryptography, host ‘A’ has PuA and PrA, host ‘B’ has PuB and PrB as public and private keys respectively. Now, if ‘A’ wants to send a message...
Read More
GATE
GATE-GATE 2017 MOCK II
GATE 2017 MOCK II
k-th prime factor of a given number
Given two numbers n and k, print k-th prime factor among all prime factors of n. For example, if the input number is 15 and k is 2, then output should be "5". And if the k...
Read More
Mathematical
factorial
sieve
prime-factor
Prime Number
DSA
GATE | GATE 2017 MOCK II | Question 64
Match the protocol with the characteristics:1. Mails are stored on the computer client use.2. Stateless protocol3. Converts MAC address to IP address.4. Used to send error...
Read More
GATE
GATE-GATE 2017 MOCK II
GATE 2017 MOCK II
GATE | GATE 2017 MOCK II | Question 63
A broadcast channel has 10 nodes and total capacity of 12 Mbps. It uses polling for medium access. Once a node finishes transmission, there is a polling delay of 50 μsecon...
Read More
GATE
GATE-GATE 2017 MOCK II
GATE 2017 MOCK II
1
...
11497
11498
11499
11500