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
Amazon Interview Experience for SDE-2
Recently I was interviewed by Amazon for SDE-2, here is my experience.Current Status: 3.5 YOE with the product-based company.Online Assessment:105 minutes including 2 codi...
Read More
Amazon
Interview Experiences
Experiences
Java.lang.System.currentTimeMillis() Method with Examples
Before java 8 the compiler used to take it from the java.util package. But later since the use of date and time became important in every software and android application,...
Read More
Java
Java-lang package
Java-Functions
Java Programs
Amazon Interview Experience for SDE-1 | 7 Months Experienced
Online Round:Question-related to the priority queueSimple Ad Hoc questionRound 1(Chime Interview): Taken by SDE 2 (1 hour, 15 mins)There are N bubbles in an array. A bubbl...
Read More
Amazon
Interview Experiences
Experienced
Experiences
Queries to calculate sum of squares of ASCII values of characters of a substring with updates
Given a string S of length N and a 2D array of strings Q[][] consisting of M queries of the following type:Query("U", "I", "X"): Update the character at index I with the c...
Read More
Strings
Mathematical
Advanced Data Structure
Competitive Programming
Segment-Tree
array-range-queries
ASCII
DSA
Minimum number of characters required to be removed such that every character occurs same number of times
Given a string S of length N, the task is to find the minimum number of characters required to be removed such that every distinct character in the string occurs same numb...
Read More
Misc
Strings
Sorting
Hash
frequency-counting
cpp-multiset
DSA
Length of longest strictly increasing subset with each pair of adjacent elements satisfying the condition 2 * A[i] ≥ A[i + 1]
Given an array A[] of size N, the task is to find the length of the longest strictly increasing subset with every pair of adjacent elements satisfying the condition A[i + ...
Read More
Arrays
subset
Sorting
Mathematical
C++ Programs
DSA
Longest Common Subsequence (LCS) by repeatedly swapping characters of a string with characters of another string
Given two strings A and B of lengths N and M respectively, the task is to find the length of the longest common subsequence that can be two strings if any character from s...
Read More
Misc
Strings
Hash
subsequence
LCS
frequency-counting
DSA
Java Program to Find Independent Sets in a Graph By Graph Coloring
Independent sets are set of vertices or edges in which the pair of any two vertices or edges are not adjacent to each other. Assuming that Independent sets mean Independen...
Read More
Graph
Java
Java Programs
Picked
DSA
Java Program to Implement IdentityHashMap API
The IdentityHashMap implements Map interface using Hashtable, using reference-equality in place of object-equality when comparing keys (and values). This class is not a ge...
Read More
Java
Java-Collections
Java Programs
Picked
java-IdentityHashMap
Java Program to Implement of Gabow Scaling Algorithm
Gabow's Algorithm is a scaling algorithm that aims in solving a problem by initially considering only the highest order bit of each relevant input value (such as an edge w...
Read More
Graph
Java
Java Programs
DSA
How to Get Size, Minimum, and Maximum Value of Data Types in Java?
The size of a data type is given by (name of datatype).SIZE. The maximum value that it can store is given by (Name of data type).MAX_VALUE. The minimum value that it can s...
Read More
Java
Java-Data Types
Java Programs
Files createTempDirectory() Method in Java with Examples
The createTempDirectory() method of java.nio.file.Files Class is used to create a new directory using the given prefix and attributes. The given prefix acts as the name of...
Read More
Java
Java-Files
Java Program to Calculate and Display Area of a Circle
Given a radius of the circle, write a java program to calculate and display the area of the circle. (Take ∏=3.142)ExampleInput : radius= 5Output: Area of circle is : 78.55...
Read More
Java
Java Programs
circle
Picked
Class 12 RD Sharma Solutions - Chapter 19 Indefinite Integrals - Exercise 19.18 | Set 2
Question 11. Evaluate ∫ sin2x/ √cos4x-sin2x+2 dxSolution:Let us assume I =∫ sin2x/ √cos4x-sin2x+2 dx=∫sin2x/ √cos4x-(1-cos2x)+2 dx (i)Put cos2x = t-2sinxcosx dx = dtsin2x ...
Read More
Mathematics
School Learning
Class 12
RD Sharma Solutions
RD Sharma Class-12
Class 12 RD Sharma Solutions- Chapter 19 Indefinite Integrals - Exercise 19.26 | Set 1
Evaluate the following integrals.Question 1. ∫(ex(cosx -sinx))dxSolution:Given expression is∫(excosx)-(exsinx)dx=∫(excosx) dx -∫(exsinx)dx=ex(cosx )-∫(exd(cosx)/dx-∫exsinx...
Read More
Technical Scripter
Picked
Mathematics
School Learning
Class 12
Technical Scripter 2020
RD Sharma Solutions
RD Sharma Class-12
1
...
6188
6189
6190
...
11269