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
How to Make Substring of a TextView Clickable in Android?
In this article, we are going to implement a very important feature related to TextView. Here we are making part of a string or a substring to act as a substring. This fea...
Read More
Java
Android
How to Create New ImageView Dynamically on Button Click in Android?
In this article, we are going to implement a very important feature related to ImageView. Here we are going to add ImageView dynamically. We will be just changing the back...
Read More
Java
Android
How to Use FoldingCell Library in Android App?
In this article, we are going to implement the FoldingCell feature. This feature can be used to show instructions on a page. Like when we create a quiz app then we can hav...
Read More
Java
Android
What is "Don’t Keep Activities" in Android?
Have you ever came across an option under Developer Settings on your mobile phone and wondered what is it all about? If you play around with your phone's settings, then yo...
Read More
Picked
Android
How to Build a Number Shapes Android App in Android Studio?
Android is a vast field to learn and explore and to make this learning journey more interesting and productive we should keep trying new problems with new logic. So, today...
Read More
Java
Android
Android-Studio
How to Implement SuperBottomBar in Android App?
In this article, we are going to implement bottom navigation like there in Spotify. We all have come across apps that have a Bottom Navigation Bar. Some popular examples i...
Read More
Java
Android
Android-Bars
Microsoft Internship Interview Experience | Summer'21
I hope whosoever is reading this is safe and in good health. The past year has been really bumpy, but good things always find a way out. So, I am here to share my experien...
Read More
Microsoft
Interview Experiences
Internship
Experiences
Maximum value of (arr[i] * arr[j]) + (arr[j] - arr[i])) possible for any pair in an array
Given an array arr[] consisting of N integers, the task is to find the maximum possible value of the expression (arr[i] * arr[j]) + (arr[j] - arr[i])) for any pair (i, j),...
Read More
Arrays
Greedy
Mathematical
DSA
Smallest subset of maximum sum possible by splitting array into two subsets
Given an array arr[] consisting of N integers, the task is to print the smaller of the two subsets obtained by splitting the array into two subsets such that the sum of th...
Read More
Arrays
Amazon
subset
Mathematical
Hash
interview-preparation
partition
DSA
Minimum number of socks required to picked to have at least K pairs of the same color
Given an array arr[] consisting of N integers such that arr[i] representing the number of socks of the color i and an integer K, the task is to find the minimum number of ...
Read More
Arrays
Greedy
Mathematical
Pigeonhole Principle
DSA
Maximum amount of capital required for selecting at most K projects
Given an integer N, representing number of projects, two arrays P[] and C[], consisting of N integers, and two integers W and K where, W is the initial capital amount, P[i...
Read More
Greedy
Sorting
Mathematical
Heap
cpp-priority-queue
min-heap
DSA
Minimize Bitwise XOR of array elements with 1 required to make sum of array at least K
Given an array arr[] consisting of N positive integers and a positive integer K, the task is to count minimum Bitwise XOR of array elements with 1 required such that the s...
Read More
Arrays
Algorithms
Mathematical
Technical Scripter
Bitwise-XOR
Technical Scripter 2020
DSA
Number of substrings with each character occurring even times
Given a string S consisting of N lowercase alphabets, the task is to count the number of substrings whose frequency of each character is even.Examples:Input: S = "abbaa"Ou...
Read More
Strings
Bit Magic
Mathematical
Hash
frequency-counting
substring
DSA
Maximum number of subsets an array can be split into such that product of their minimums with size of subsets is at least K
Given an array arr[] consisting of N integers and an integer K, the task is to find the maximum number of disjoint subsets that the given array can be split into such that...
Read More
Arrays
subset
Sorting
Mathematical
Competitive Programming
partition
DSA
Improvement on the Quick Sort Algorithm
Prerequisite: QuickSort AlgorithmThe quicksort algorithm discussed in this article can take O(N2) time in the worst case. Hence, certain variations are needed which can ef...
Read More
Analysis of Algorithms
Sorting
Technical Scripter
Quick Sort
Technical Scripter 2020
DSA
1
...
6053
6054
6055
...
11269