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
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Java Program to Implement Triply Linked List
Unlike arrays, linked list elements are not stored at a contiguous location; the elements are linked using pointers. In this post, methods to insert a new node in a linked...
Read More
Linked List
Java
Java Programs
Picked
DSA
How to Convert JSON Array to String Array in Java?
JSON stands for JavaScript Object Notation. It is one of the widely used formats to exchange data by web applications. JSON arrays are almost the same as arrays in JavaScr...
Read More
Java
Java Programs
Picked
Java-Array-Programs
Copy Elements of Vector to Java ArrayList
Since Vector class and ArrayList class both are part of Java Collections, ie Collection framework, so both of these classes can use methods available to the Collection fra...
Read More
Java
Java-Collections
Java Programs
Java-ArrayList
Picked
Java-Vector
Java Program to Find the Occurrence of Words in a String using HashMap
HashMapKey, Value provides the basic implementation of the Map interface of Java and import java.util.HashMap package or its superclass. HashMap stores the data in (Key, V...
Read More
Java
Java Programs
Java-HashMap
Java-String-Programs
Java Program to Add Two Binary Strings
When two binary strings are added, then the sum returned is also a binary string.Example:Input : x = "10", y = "01"Output: "11"Input : x = "110", y = "011"Output: "1001"...
Read More
Java
Java Programs
Java-String-Programs
Java Program to Find LCM of Two Numbers
LCM (i.e. Least Common Multiple) is the largest of the two stated numbers that can be divided by both the given numbers. In this article, we will write a program to find t...
Read More
Java
Java Programs
Java Program to Find GCD or HCF of Two Numbers
GCD (i.e. Greatest Common Divisor) or HCF (i.e. Highest Common Factor) is the largest number that can divide both the given numbers.Example:HCF of 10 and 20 is 10, and HCF...
Read More
Java
Java Programs
How Digital Transformation is Reinventing Healthcare Industry?
The recent advancements in science and technology have now redefined each and every aspect of our lives. Increasing numbers of healthcare providers are now transforming th...
Read More
GBlog
Check if sum of array can be made equal to X by removing either the first or last digits of every array element
Given an array arr[] consisting of N positive integers and a positive integer X, the task is to check if the sum of the given array can be made equal to X by removing eith...
Read More
Arrays
Mathematical
number-digits
array-rearrange
Recursion
DSA
Nearest Fibonacci Number to N
Given a positive integer N, the task is to find the nearest Fibonacci number to the given integer N. If there are two Fibonacci Numbers having same difference from N, then...
Read More
Mathematical
Fibonacci
Numbers
DSA
Class 12 RD Sharma Solutions - Chapter 23 Algebra of Vectors - Exercise 23.9
Question 1: Can a vector have direction angles45°,60°, and120°.Solution:We know that if l, m and n are the direction cosines and[Tex]\alpha[/Tex],[Tex]\beta[/Tex]and[Tex]\...
Read More
Picked
Mathematics
School Learning
Class 12
RD Sharma Solutions
RD Sharma Class-12
Permutation of first N natural numbers having given array as the prefix maximum array
Given an array arr[] consisting of N positive integers, the task is to find the permutation of first N natural numbers such that the given array arr[] is the prefix maximu...
Read More
Arrays
Misc
Mathematical
Hash
permutation
cpp-unordered_map
prefix
Natural Numbers
DSA
Queries to calculate maximum Bitwise XOR of X with any array element not exceeding M
Given an array arr[] consisting of N non-negative integers and a 2D array queries[][] consisting of queries of the type {X, M}, the task for each query is to find the maxi...
Read More
Arrays
Bit Magic
Tree
Trie
Advanced Data Structure
Bitwise-XOR
DSA
Check if sequence of removed middle elements from an array is sorted or not
Given an array arr[] consisting of N integers, the task is to check if the sequence of numbers formed by repeatedly removing the middle elements from the given array arr[]...
Read More
Arrays
Sorting
Mathematical
C++ Programs
two-pointer-algorithm
DSA
Class 9 RD Sharma Solutions - Chapter 5 Factorisation of Algebraic Expressions- Exercise 5.4
Factorize each of the following:Question 1. a3 + 8b3 + 64c3 – 24abcSolution:We know thata3 + b3 + c3 – 3abc = (a + b + c) (a2 + b2 + c2 – ab – bc – ca)= a3 + 8b3 + 64c3 – ...
Read More
Picked
Mathematics
School Learning
Class 9
RD Sharma Solutions
RD Sharma Class-9
1
...
6306
6307
6308
...
11375