w3resource logo

Tutorials, Exercises published recently

27 March, 2023

C++ Queue: Remove all odd elements from a queue

C++ Queue: Remove all duplicate elements from a queue

C++ Queue: Remove all elements greater than a number from a queue

C++ Queue: Concatenate two queues

26 March, 2023

C++ Queue: Find the second highest element of a queue

C++ Queue: Find the second lowest element of a queue

C++ Queue: Remove a given element from a queue

C++ Queue: Remove all the elements from a queue

C++ Queue: Remove all even elements from a queue

25 March, 2023

C++ Queue: Find the median of all elements of the said queue

C++ Queue: Find the mode of all elements of a queue

C++ Queue: Mean, variance and standard deviation of all elements of a queue

C++ Queue: Find the maximum element of a queue

C++ Queue: Find the minimum element of a queue

24 March, 2023

C++ Queue: Exercises, Practice, Solution

C++ Queue: Implement a queue using an array

C++ Queue: Reverse the elements of a queue

C++ Queue: Sort the elements of a queue

C++ Queue: Find the sum of all elements of a queue

C++ Queue: Find the average of all elements of a queue

23 March, 2023

C# Sharp: New stack from a portion of the original stack

C# Sharp: Verify all stack elements satisfy a condition

C# Sharp: Verify at least one element satisfy a condition

C# Sharp: Remove elements from a stack that do not meet a condition

22 March, 2023

C# Sharp: Find common elements between two stacks

C# Sharp: Stack elements in the first but not in the second

C# Sharp: Elements from both stacks without duplicates

C# Sharp: Symmetric difference of two stacks

21 March, 2023

C# Sharp: Swap the top two elements of a stack

C# Sharp: Nth element from the top of the stack

C# Sharp: Merge two stacks into one

C# Sharp: Check if a stack is a subset of another stack

C# Sharp: Checks if two stacks are equal

20 March, 2023

C++ Exercises: Third largest string within an array of strings

19 March, 2023

C# Sharp: Check if an element is present or not in a stack

C# Sharp: Remove duplicates from a given stack

C# Sharp: Top and bottom elements of a stack

C# Sharp: Rotate the stack elements to the left

18 March, 2023

C# Sharp: Find the minimum element in a stack

C# Sharp: Remove all the elements from a stack

C# Sharp: Remove specified element from a stack

C# Sharp: Count all the elements in a stack

C# Sharp: Count specified element in a stack

17 March, 2023

C# Sharp Stack: Exercises, Practice, Solution

C# Sharp: Implement a stack with push and pop operations

C# Sharp: Sort the elements of a stack in descending order

C# Sharp: Sort the elements of a stack in ascending order

C# Sharp: Reverse the elements of a stack

C# Sharp: Find the maximum element in a stack

16 March, 2023

Java Exercises: Symmetric difference of two stacks

Java Exercises: Verify all stack elements satisfy a condition

Java Exercises: Verify at least one element satisfy a condition

Java Exercises: Remove elements from a stack that do not meet a condition

Java Exercises: Implement a stack using a linked list

15 March, 2023

Java Exercises: Find common elements between two stacks

Java Exercises: Stack elements in the first but not in the second

Java Exercises: Elements from two stacks without duplicates

Java Exercises: New stack from a portion of the original stack

14 March, 2023

C Programming Snippets: Difference between char * const and const char *?

C Programming Snippets: What is the difference between char a[] and char *a?

C Programming Snippets: How to convert a character to an integer, float in C ?

C Programming Snippets: Implementing a custom memcpy() function

C Programming Snippets: Implementing a custom atoi() function

C Programming Snippets: C program to define Macro to find maximum/minimum of two numbers

C Programming Snippets: C program to find the size of a structure and why does the structure's area differ from each member's?

C Programming Snippets: What is the difference between char array and char pointer in C language with example?

C Programming Snippets: How do function pointers work in C?

C Programming Snippets: How to pass a function as a parameter in C?

C Programming Snippets: Difference between typedef struct and struct definitions with example?

C Programming Snippets: Implementing a custom strlen() function

C Programming Snippets: Implementing a custom abs() function

13 March, 2023

Java Exercises: Nth element from the bottom of the stack

Java Exercises: Move the nth element from the top of the stack to the top

Java Exercises: Merge two stacks into one

Java Exercises: Check if the stack is a subset of another stack

Java Exercises: Checks if two stacks are equal

12 March, 2023

Java Exercises: Rotate the stack elements to the right

Java Exercises: Rotate the stack elements to the left

Java Exercises: Remove a specific element from a stack

Java Exercises: Swap the top two elements of a stack

Java Exercises: Nth element from the top of the stack

11 March, 2023

JJava Exercises: Remove all the elements from a stack

Java Exercises: Count all the elements in a stack

Java Exercises: Check if an element is present or not in a stack

Java Exercises: Remove duplicates from a given stack

Java Exercises: Top and bottom elements of a stack

C Programming Snippets: Print with padding by Zeros in C

C Programming Snippets: Implementing a custom printf() function in C

C Programming Snippets: Implementing a custom strcmp() function in C

10 March, 2023

Java Exercises: Implement a stack with push and pop operations

Java Exercises: Sort the elements of a stack in ascending order

Java Exercises: Sort the elements of a stack in descending order

Java Exercises: Reverse the elements of a stack

Java Exercises: Find the maximum and minimum elements in a stack

09 March, 2023

JavaScript Exercises: Symmetric difference of two stacks

JavaScript Exercises: Extract a portion from the said stack

JavaScript Exercises: Verify all stack elements satisfy a condition

JavaScript Exercises: Verify at least one element satisfy a condition

JavaScript Exercises: Remove elements from a stack that do not meet a condition

08 March, 2023

JavaScript Exercises: Check if the stack is a subset of another stack

JavaScript Exercises: Checks if two stacks are equal

JavaScript Exercises: Find elements that are in both stacks

JavaScript Exercises: Stack elements in the first but not in the second

JavaScript Exercises: Elements from both stacks without duplicates

07 March, 2023

JavaScript Exercises: Implement a stack using a linked list

JavaScript Exercises: Convert a stack into an array

JavaScript Exercises: Create stacks from arrays

JavaScript Exercises: Concatenates two stacks into a new stack

JavaScript Exercises: Create a copy of the stack

06 March, 2023

JavaScript Exercises: Nth element from the top of the stack

JavaScript Exercises: Nth element from the bottom of the stack

JavaScript Exercises: Move the nth element from the top of the stack to the top

JavaScript Exercises: Move the nth element from the bottom of the stack to the top

JavaScript Exercises: Merge two stacks into one

05 March, 2023

JavaScript Exercises: Rotate the stack elements to the left

JavaScript Exercises: Rotate the stack elements to the right

JavaScript Exercises: Middle element(s) of a stack

JavaScript Exercises: Remove a specific element from a stack

JavaScript Exercises: Swap the top two elements of a stack

04 March, 2023

JavaScript Exercises: Remove all the elements from a given stack

JavaScript Exercises: Count all the elements from a given stack

JavaScript Exercises: Check if an element is present or not in a stack

JavaScript Exercises: Remove duplicates from a given stack

JavaScript Exercises: Top and bottom elements of a stack

03 March, 2023

Update : JavaScript Stack - Exercises, Practice, Solution

JavaScript Exercises: Implement a stack with push and pop operations

JavaScript Exercises: Sort the elements of a stack in descending order

JavaScript Exercises: Sort the elements of a stack in ascending order

JavaScript Exercises: Implement a stack with push and pop operations

JavaScript Exercises: Find the maximum element in a stack (using an array)

02 March, 2023

C++ Stack: Reverse a stack (using a vector) elements

C++ Stack: Find the middle element(s) of a stack (using a vector)

C++ Stack: Implement a stack using a Deque with push, pop operations

C++ Stack: Sort the stack (using a Deque) elements

C++ Stack: Reverse the stack (using a Deque) elements

01 March, 2023

C++ Stack: Sort a stack (using a dynamic array) elements

C++ Stack: Reverse a stack (using a dynamic array) elements

C++ Stack: Middle element of a stack (using a dynamic array)

C++ Stack: Implement a stack using a vector with push, pop operations

C++ Stack: Sort the stack (using a vector) elements

28 February, 2023

C++ Stack: Implement a stack using a linked list with push, pop

C++ Stack: Check the size and empty status of a stack (linked list)

C++ Stack: Reverse the elements of a stack (using a linked list)

C++ Stack: Sort the elements of a stack (using a linked list)

C++ Stack: Implement a stack using a dynamic array with push, pop