Data Structure
Java
Python
HTML
Interview Preparation
Interview Prep
Tutorials
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Amazon
1.9K+ articles
Microsoft
811+ articles
Accolite
305+ articles
Linked Lists
303+ articles
Adobe
280+ articles
MakeMyTrip
214+ articles
Paytm
209+ articles
Hike
99+ articles
Snapdeal
166+ posts
Recent Articles
Popular Articles
Snapdeal Recruitment Process
Last Updated: 23 July 2025
This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other as...
read more
Interview Experiences
Snapdeal
Find Square Root Of Given Number - Python
Last Updated: 23 July 2025
Given an integer X, find its square root. If X is not a perfect square, then return floor(√x). For example, if X = 11, the output should be 3, as it is the largest integer...
read more
Python
Microsoft
Amazon
Snapdeal
Accolite
Ola Cabs
Binary Search
C++ Program For Reversing A Linked List In Groups Of Given Size - Set 2
Last Updated: 23 July 2025
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
C++
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
Java Program For Reversing A Linked List In Groups Of Given Size- Set 2
Last Updated: 23 July 2025
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
Java
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
Python Program For Reversing A Linked List In Groups Of Given Size- Set 2
Last Updated: 23 July 2025
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
Python
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
Python-DSA
Javascript Program For Reversing A Linked List In Groups Of Given Size- Set 2
Last Updated: 23 July 2025
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
JavaScript
Linked Lists
Microsoft
Adobe
VMWare
Snapdeal
Paytm
Accolite
MakeMyTrip
C Program For Sorting An Array Of 0s, 1s and 2s
Last Updated: 23 July 2025
Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s and all 2s in l...
read more
Sorting
C Programs
DSA
Arrays
Microsoft
Amazon
Adobe
Morgan Stanley
Qualcomm
Walmart
Yatra.com
Snapdeal
Paytm
Hike
MAQ Software
SAP Labs
MakeMyTrip
Ola Cabs
Java Program For Sorting An Array Of 0s, 1s and 2s
Last Updated: 23 July 2025
Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s and all 2s in l...
read more
Sorting
Java Programs
DSA
Arrays
Microsoft
Amazon
Adobe
Morgan Stanley
Qualcomm
Walmart
Yatra.com
Snapdeal
Paytm
Hike
MAQ Software
SAP Labs
MakeMyTrip
Ola Cabs
Python Program For Sorting An Array Of 0s, 1s and 2s
Last Updated: 23 July 2025
Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s and all 2s in l...
read more
Sorting
Python Programs
DSA
Arrays
Microsoft
Amazon
Adobe
Morgan Stanley
Qualcomm
Walmart
Yatra.com
Snapdeal
Paytm
Hike
MAQ Software
SAP Labs
MakeMyTrip
Ola Cabs
PHP Program to Sort an Array of 0s, 1s and 2s
Last Updated: 23 July 2025
Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s and all 2s in l...
read more
Sorting
Web Technologies
PHP Programs
DSA
Arrays
Microsoft
Amazon
Adobe
Morgan Stanley
Qualcomm
Walmart
Yatra.com
Snapdeal
Paytm
Hike
MAQ Software
SAP Labs
MakeMyTrip
Ola Cabs
Javascript Program For Sorting An Array Of 0s, 1s and 2s
Last Updated: 23 July 2025
Given an array A[] consisting 0s, 1s and 2s. The task is to write a function that sorts the given array. The functions should put all 0s first, then all 1s and all 2s in l...
read more
JavaScript
Microsoft
Amazon
Adobe
Morgan Stanley
Qualcomm
Walmart
Yatra.com
Snapdeal
Paytm
Hike
MAQ Software
SAP Labs
MakeMyTrip
Ola Cabs
C++ Program For Flattening A Linked List
Last Updated: 23 July 2025
Given a linked list where every node represents a linked list and contains two pointers of its type:Pointer to next node in the main list (we call it 'right' pointer in th...
read more
C++
Linked Lists
Microsoft
Amazon
Flipkart
Goldman Sachs
Drishti-Soft
Snapdeal
Paytm
Payu
Visa
24*7 Innovation Labs
Java Program For Flattening A Linked List
Last Updated: 23 July 2025
Given a linked list where every node represents a linked list and contains two pointers of its type:Pointer to next node in the main list (we call it 'right' pointer in th...
read more
Java
Linked Lists
Microsoft
Amazon
Flipkart
Goldman Sachs
Drishti-Soft
Snapdeal
Paytm
Payu
Visa
24*7 Innovation Labs
Python Program For Flattening A Linked List
Last Updated: 23 July 2025
Given a linked list where every node represents a linked list and contains two pointers of its type:Pointer to next node in the main list (we call it 'right' pointer in th...
read more
Python
Linked Lists
Microsoft
Amazon
Flipkart
Goldman Sachs
Drishti-Soft
Snapdeal
Paytm
Payu
Visa
24*7 Innovation Labs
Python-DSA
Javascript Program For Flattening A Linked List
Last Updated: 23 July 2025
Given a linked list where every node represents a linked list and contains two pointers of its type:Pointer to next node in the main list (we call it the 'right' pointer i...
read more
JavaScript
Linked Lists
Microsoft
Amazon
Flipkart
Goldman Sachs
Drishti-Soft
Snapdeal
Paytm
Payu
Visa
24*7 Innovation Labs
1
2
3
4
...
12