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
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
Creating Custom Commands in Flask
This article revolves around how to create custom commands in flask. Every time one runs flask using flask run, run is actually a command which initiates a function called...
Read More
Python
Python Flask
TemplateView - Class Based Generic View Django
Django provides several class based generic views to accomplish common tasks. The simplest among them is TemplateView. It Renders a given template, with the context contai...
Read More
Python
Python Django
Django-views
Postman Interview Experience for SDE Intern | Off-Campus 2020
I applied for SDE Intern-2020 at Postman through its official website. On the same day, I received a link to an online coding test at Hackerrank.Online Test: The test cons...
Read More
Interview Experiences
Internship
Off-Campus
Postman
Experiences
Top 12 Data Structure Algorithms to Implement in Practical Applications in 2021
New Year...New Beginning...!!!What's your plan for this year??? (Being a programmer)Of course, if you're a programmer then this year you will also write the code, build th...
Read More
GBlog
Algorithms
Data Structures
Gblog-2021
DSA
How to Design a Web Application - A Guideline on Software Architecture
Have you ever tried to prepare Pizza at home? (yes!!! we're talking about your favorite food...)What will happen if you don't make good dough for your pizza base? Surely t...
Read More
GBlog
Web Technologies
Software Engineering
How to create Custom Template Tags in Django ?
Django offers a variety of built-in template tags such as {% if %} or {% block %}. However, Django also allows you to create your own template tags to perform custom actio...
Read More
Python
Python Django
Django-templates
Minimize cost to split an array into K subsets such that the cost of each element is its product with its position in the subset
Given an array arr[] of size N and a positive integer K, the task is to find the minimum possible cost to split the array into K subsets, where the cost of ith element ( 1...
Read More
Arrays
Greedy
Sorting
Mathematical
array-rearrange
Arrays
partition
DSA
Count numbers up to N having digit D in its octal representation
Given a positive integer N and an integer D representing a digit, the task is to count the numbers in the range[1, N] such that at least one digit in octal representation ...
Read More
Searching
Mathematical
DSA
Persistent Systems Interview Experience | Off-Campus 2020
Round 1(Technical Test of 45 minutes Duration): After successfully filling all the details I received an email regarding an online exam which was held on 10 December 2020 ...
Read More
Interview Experiences
Persistent Systems
Off-Campus
Experiences
Count numbers from a given range whose product of digits is K
Given three positive integers L, R and K, the task is to count the numbers in the range [L, R] whose product of digits is equal to KExamples:Input: L = 1, R = 130, K = 14O...
Read More
Dynamic Programming
Mathematical
Hash
Competitive Programming
number-digits
digit-DP
DSA
Sort a permutation of first N natural numbers by swapping elements at positions X and Y if N ≤ 2|X - Y|
Given an array arr[] consisting of first N natural numbers (N is even), the task is to find a sequence of swaps that can sort the array by swapping elements at positions X...
Read More
Arrays
Sorting
Mathematical
array-rearrange
DSA
Calculate the value of 2 raised to the power of twice the binary representation of N
Given a positive integer N, the task is to find the value of (22 * X), where X is the binary representation of N. Since the answer can be very large, print it modulo 109 +...
Read More
Dynamic Programming
Mathematical
Modular Arithmetic
maths-power
Maths
DSA
Minimize remaining array element by removing pairs and replacing them with their average
Given an array arr[] of size N, the task is to find the smallest possible remaining array element by repeatedly removing a pair, say (arr[i], arr[j]) from the array and in...
Read More
Arrays
Greedy
Sorting
Mathematical
Heap
Data Structures
priority-queue
cpp-priority-queue
DSA
Count elements of same value placed at same indices of two given arrays
Given two arrays A[] and B[] of N unique elements, the task is to find the maximum number of matched elements from the two given arrays.Elements of the two arrays are matc...
Read More
Arrays
Searching
Mathematical
Hash
array-rearrange
Java-HashMap
DSA
Flip bits of the sum of count of set bits of two given numbers
Given two numbers A and B, the task is to count the number of set bits in A and B and flip the bits of the obtained sum.Examples:Input: A = 5, B = 7Output: 2Explanation:Bi...
Read More
Bit Magic
setBitCount
Mathematical
binary-representation
DSA
1
...
6547
6548
6549
...
11204