Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.8K+ articles
DSA
20.1K+ articles
Python
20.0K+ articles
Misc
8.2K+ articles
Mathematical
7.5K+ articles
Strings
2.9K+ articles
C++ Programs
2.1K+ articles
Computer Science Fundamentals
1.2K+ articles
Geometric
685+ articles
CBSE - Class 11
102+ articles
school-programming
240+ posts
Recent Articles
Popular Articles
Program to print diamond pattern using numbers and stars
Last Updated: 31 October 2023
Program to print the following pattern of a half diamond for N.Pattern for N = 4Example:Input: N = 5Output:12*34*5*67*8*9*1011*12*13*14*1511*12*13*14*157*8*9*104*5*62*31Th...
read more
Design Pattern
Computer Science Fundamentals
System Design
DSA
school-programming
Python for Kids - Fun Tutorial to Learn Python Programming
Last Updated: 18 April 2025
Python for Kids - Python is an easy-to-understand and good-to-start programming language. In this Python tutorial for kids or beginners, you will learn Python and know why...
read more
Python
Programming Language
Python Programs
school-programming
Tutorials
Computer Science and Programming For Kids
Last Updated: 13 June 2023
Welcome to the exciting world of Computer Science Programming! In this article, designed to introduce Computer Science for Kids or Coding for Kids, you will get to know w...
read more
Computer Subject
Computer Science Fundamentals
school-programming
Tutorials
Kids Coding
Java Program to Rotate matrix by 45 degrees
Last Updated: 31 March 2023
Given a matrix mat[][] of size N*N, the task is to rotate the matrix by 45 degrees and print the matrix.Examples:Input: N = 6,mat[][] = {{3, 4, 5, 1, 5, 9, 5}, {6, 9...
read more
Java
rotation
school-programming
Python3 Program for Rotate matrix by 45 degrees
Last Updated: 05 September 2024
Given a matrix mat[][] of size N*N, the task is to rotate the matrix by 45 degrees and print the matrix.Examples:Input: N = 6,mat[][] = {{3, 4, 5, 1, 5, 9, 5}, {6, 9...
read more
Python
rotation
school-programming
C++ Program to Find the Mth element of the Array after K left rotations
Last Updated: 14 October 2022
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations.Examples:Input: arr[] = {3, 4, 5, 23}, K = 2,...
read more
C++
rotation
school-programming
Java Program to Find the Mth element of the Array after K left rotations
Last Updated: 14 October 2022
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations.Examples:Input: arr[] = {3, 4, 5, 23}, K = 2,...
read more
Java
rotation
school-programming
Python3 Program to Find the Mth element of the Array after K left rotations
Last Updated: 06 September 2024
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations.Examples:Input: arr[] = {3, 4, 5, 23}, K = 2,...
read more
Python
rotation
school-programming
Javascript Program to Find the Mth element of the Array after K left rotations
Last Updated: 14 October 2022
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations.Examples:Input: arr[] = {3, 4, 5, 23}, K = 2,...
read more
JavaScript
rotation
school-programming
Java Program to Efficiently compute sums of diagonals of a matrix
Last Updated: 31 May 2022
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
read more
Java
school-programming
CBSE - Class 11
Python Program to Efficiently compute sums of diagonals of a matrix
Last Updated: 31 May 2022
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
read more
Python
school-programming
CBSE - Class 11
PHP Program to Efficiently compute sums of diagonals of a matrix
Last Updated: 22 July 2024
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
read more
PHP
school-programming
CBSE - Class 11
Javascript Program to Efficiently compute sums of diagonals of a matrix
Last Updated: 10 September 2024
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix.A00 A01 A02 A03A10 A11 A12 ...
read more
JavaScript
school-programming
CBSE - Class 11
C++ Program For Linear Search
Last Updated: 15 October 2024
Linear search algorithm is the simplest searching algorithm that is used to find an element in the given collection. It simply compares the element to find with each eleme...
read more
C++
school-programming
CBSE - Class 11
CPP-DSA
Steps to Create Your First Roblox Game
Last Updated: 03 April 2025
Roblox is a popular online gaming platform where users can create, share, and play games with others in a virtual world. With millions of active users, it has become one o...
read more
Computer Science Fundamentals
school-programming
school
1
2
3
4
...
16
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !