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
Kotlin - Scope Function
There are several functions in the Kotlin standard library that help in the execution of a block of code within the context of an object. Calling these functions on an obj...
Read More
Technical Scripter
Kotlin
Technical Scripter 2020
Class 12 RD Sharma Solutions - Chapter 22 Differential Equations - Exercise 22.2 | Set 2
Question 11. Assume that a raindrop evaporates at a rate proportional to its surface area. Form a differential equation involving the rate of change of the radius of the r...
Read More
Mathematics
School Learning
Class 12
RD Sharma Solutions
RD Sharma Class-12
Count of unique pairs (i, j) in an array such that sum of A[i] and reverse of A[j] is equal to sum of reverse of A[i] and A[j]
Given an array arr[] consisting of N positive integers, the task is to find the count of unique pairs (i, j) such that the sum of arr[i] and the reverse(arr[j]) is the sam...
Read More
Arrays
Hash
Reverse
HashTable
cpp-unordered_map
frequency-counting
DSA
Sum of Fibonacci Numbers | Set 2
Given a positive number N, the task is to find the sum of the first (N + 1) Fibonacci Numbers.Examples:Input: N = 3Output: 4Explanation:The first 4 terms of the Fibonacci ...
Read More
Mathematical
Fibonacci
Recursion
Numbers
DSA
Minimum removal of K equal elements required to empty an array
Given an array arr[] consisting of N integers, the task is to count the minimum number of times at most K equal elements are required to be removed to make the array empty...
Read More
Arrays
Hash
Technical Scripter
HashTable
frequency-counting
Technical Scripter 2020
DSA
Make all array elements equal to K by repeatedly incrementing subsequences
Given an array arr[] consisting of N integers and an integer K, the task is to make all array elements equal to K by repeatedly incrementing all elements of subsequences b...
Read More
Arrays
Algorithms
Mathematical
Hash
array-rearrange
HashTable
frequency-counting
DSA
Modify array to another given array by replacing array elements with the sum of the array
Given an array input[] consisting only of 1s initially and an array target[] of size N, the task is to check if the array input[] can be converted to target[] by replacing...
Read More
Arrays
Mathematical
array-rearrange
Recursion
DSA
Lexicographically smallest permutation having maximum sum of differences between adjacent elements
Given an array arr[] of size N, the task is to find the lexicographically smallest permutation of the given array such that the sum of difference between adjacent elements...
Read More
Arrays
Misc
Sorting
Mathematical
permutation
array-rearrange
lexicographic-ordering
DSA
Minimum number of pigs required to find the poisonous bucket
Given an integer N denoting the number of buckets, and an integer M, denoting the minimum time in minutes required by a pig to die after drinking poison, the task is to fi...
Read More
Amazon
Mathematical
Technical Scripter
interview-preparation
Technical Scripter 2020
DSA
C/C++ Puzzles
Queries to check if subarrays over given range of indices is non-decreasing or not
Given an array arr[] consisting of N integers and an array Q[][2] consisting of K queries of type {L, R}, the task for each query is to check if the subarray {arr[L], .. a...
Read More
Arrays
Technical Scripter
subarray
prefix-sum
array-range-queries
Technical Scripter 2020
DSA
HashedIn Interview Experience for Intern+FTE (On-Campus)
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 platform...
Read More
Interview Experiences
Internship
Hashedin
On-Campus
Experiences
Qualcomm Interview Experience for Fresher | Off-Campus 2021
Qualcomm Hyderabad conducted online recruitment on Jan 2021 as an Off-Campus.Round 1(Online Test): Online test of 1.30 hr. Was conducted which consists of 3 sections as fo...
Read More
Qualcomm
Interview Experiences
Off-Campus
Experiences
VISA Interview Experience for FTE | On-Campus 2021
Online Round:Find the longest subarray in an unsorted array that has an abs diff b/w adj Elem = 1 after being sorted. My approach: sort and find subarray count of adj elem...
Read More
Interview Experiences
Visa
CS - Placements
On-Campus
Experiences
Generate an array from given pairs of adjacent elements
Given a 2D array arr[][] consisting of N pairs of integers such that the two elements in each row indicates that they are adjacent elements in the original array. The task...
Read More
Arrays
Greedy
Searching
array-rearrange
DFS
DSA
Lexicographically largest permutation of array possible by reversing suffix subarrays
Given an array arr[] of size N, the task is to find the lexicographically largest permutation array by reversing any suffix subarrays from the array.Examples:Input: arr[] ...
Read More
Arrays
Technical Scripter
array-rearrange
Reverse
lexicographic-ordering
Suffix
Technical Scripter 2020
DSA
1
...
6522
6523
6524
...
11375