ShareHub

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

CA 05 - Reverse the array

CA 05 - Reverse the array

Apex Shark · 3/22/2026

Problem Reverse Array Problem You are given an array of integers arr[]. The goal is to reverse the array in place, without using any additional memory. In si...

Valid Anagram

Valid Anagram

Apex Shark · 3/22/2026

Introduction Strings are one of the most important topics in programming. A common problem is checking whether two strings are anagrams, which means they con...

Sorting Algorithms in Python

Sorting Algorithms in Python

Pyro Hawk · 3/22/2026

Sorting is a key concept in computer science and algorithm design. It helps organize data efficiently and is frequently asked in coding interviews. In this p...

Merging Sorted Linked List

Merging Sorted Linked List

Pyro Hawk · 3/22/2026

In this task, I worked on merging two sorted linked lists into a single sorted linked list. This problem helped me understand how linked lists work and how t...

Squares of a Sorted Array

Squares of a Sorted Array

Pyro Hawk · 3/22/2026

Squares of a Sorted Array Problem You’re given a sorted array that can include negative numbers. The task is to return a new array of the squares of each num...