Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
AI ML DS
Data Analysis
Data Visualization
Machine Learning
Deep Learning
NLP
Computer Vision
AI ML DS Interview Series
AI ML DS Projects series
Data Engineering
Web Scrapping
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
Python Program for Mirror of matrix across diagonal
Given a 2-D array of order N x N, print a matrix that is the mirror of the given tree across the diagonal. We need to print the result in a way: swap the values of the tri...
Read More
Matrix
Python
Python Programs
DSA
Java Program for Mirror of matrix across diagonal
Given a 2-D array of order N x N, print a matrix that is the mirror of the given tree across the diagonal. We need to print the result in a way: swap the values of the tri...
Read More
Java
Matrix
Java Programs
DSA
C++ Program for Mirror of matrix across diagonal
Given a 2-D array of order N x N, print a matrix that is the mirror of the given tree across the diagonal. We need to print the result in a way: swap the values of the tri...
Read More
Matrix
C++
C++ Programs
DSA
Python Program for Print matrix in zag-zag fashion
Given a matrix of 2D array of n rows and m columns. Print this matrix in ZIG-ZAG fashion as shown in figure.Example:Input: 1 2 34 5 67 8 9Output: 1 2 4 7 5 3 6 8 9Method 1...
Read More
Matrix
Python
pattern-printing
Python Programs
DSA
C++ Program to Print matrix in zag-zag fashion
Given a matrix of 2D array of n rows and m columns. Print this matrix in ZIG-ZAG fashion as shown in figure.Example:Input: 1 2 34 5 67 8 9Output: 1 2 4 7 5 3 6 8 9Approach...
Read More
Matrix
pattern-printing
C++
C++ Programs
DSA
Javascript Program For Reversing A Linked List In Groups Of Given Size- Set 2
Given a linked list, write a function to reverse every k nodes (where k is an input to the function).Examples:Input: 1-2-3-4-5-6-7-8-NULL and k = 3 Output: 3-2-1-6-5-4-8-7...
Read More
Linked List
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
Web Technologies
JavaScript
DSA
Python Program For Reversing A Linked List In Groups Of Given Size- Set 2
Given a linked list, write a function to reverse every k nodes (where k is an input to the function). Examples:Input: 1->2->3->4->5->6->7->8->NULL and k = 3 Output: 3->2->...
Read More
Linked List
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
Python
Python Programs
Python-Data-Structures
DSA
Java Program For Reversing A Linked List In Groups Of Given Size- Set 2
Given a linked list, write a function to reverse every k nodes (where k is an input to the function).Examples:Input: 1-2-3-4-5-6-7-8-NULL and k = 3 Output: 3-2-1-6-5-4-8-7...
Read More
Linked List
Linked Lists
Microsoft
Adobe
VMWare
Java
Snapdeal
Paytm
Accolite
MakeMyTrip
Java Programs
DSA
C++ Program For Reversing A Linked List In Groups Of Given Size - Set 2
Given a linked list, write a function to reverse every k nodes (where k is an input to the function).Examples:Input: 1-2-3-4-5-6-7-8-NULL and k = 3 Output: 3-2-1-6-5-4-8-7...
Read More
Linked List
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
C++
C++ Programs
DSA
C++ Program For Deleting Last Occurrence Of An Item From Linked List
Using pointers, loop through the whole list and keep track of the node prior to the node containing the last occurrence key using a special pointer. After this just store ...
Read More
Linked List
C++ Programs
DSA
Javascript Program to Find Maximum value possible by rotating digits of a given number
Given a positive integer N, the task is to find the maximum value among all the rotations of the digits of the integer N.Examples:Input: N = 657Output: 765Explanation: All...
Read More
Mathematical
number-digits
rotation
Web Technologies
JavaScript
Technical Scripter 2020
DSA
Java Program to Find Maximum value possible by rotating digits of a given number
Given a positive integer N, the task is to find the maximum value among all the rotations of the digits of the integer N.Examples:Input: N = 657Output: 765Explanation: All...
Read More
Java
Mathematical
number-digits
rotation
Java Programs
Technical Scripter 2020
DSA
C++ Program to Find Maximum value possible by rotating digits of a given number
Given a positive integer N, the task is to find the maximum value among all the rotations of the digits of the integer N.Examples:Input: N = 657Output: 765Explanation: All...
Read More
Mathematical
Technical Scripter
number-digits
rotation
C++
C++ Programs
Technical Scripter 2020
DSA
Travelling Salesman Problem using Hungarian method
A travelling salesman plans to visit N cities in such a way that he visits each city exactly once and return to the city from where he started. The distance between City i...
Read More
Arrays
Misc
Greedy
Matrix
DSA
Find Permutation of numbers in range [L, R] having X peaks and Y valleys
Given integers L, R, X and Y such that (R L ≥ 1), (X ≥ 0) and (Y ≥ 0). Find the permutation of the numbers in range [L, R] such that there are exactly X peaks and Y valle...
Read More
Arrays
Greedy
Sorting
Mathematical
permutation
array-range-queries
DSA
1
...
5016
5017
5018
...
11402