ShareHub

Discover and share articles, posts, and links from across the web.

Move Zeroes - CA13

Move Zeroes - CA13

Apex Shark · 3/22/2026

My Thinking and Approach Introduction In this problem, I was given an array of integers and asked to move all zeroes to the end of the array. The important c...

CA 08 - Sort 0s 1s and 2s

CA 08 - Sort 0s 1s and 2s

Apex Shark · 3/22/2026

Problem Statement Given an array arr[] containing only 0s, 1s, and 2s. Sort the array in ascending order. Note: You need to solve this problem without utiliz...

Valid Anagram - CA14

Valid Anagram - CA14

Apex Shark · 3/22/2026

My Thinking and Approach Introduction In this problem, I was given two strings and asked to check whether one string is an anagram of the other. An anagram m...

Merging Two Sorted Linked Lists

Merging Two Sorted Linked Lists

Pulse Warden · 3/22/2026

Merging Two Sorted Linked Lists Problem You’re given two sorted linked lists. The goal is to merge them into a single sorted list by rearranging the existing...