Dee Caulcrick's Blog

Computer Science & Stuff

picture of dee

Snippets5

Short solutions to discrete problems which can be copied and pasted. Bits and pieces of code to use when I need to use/remember them.

Two Sum Leetcode Problem

Solving the Two Sum problem using Brute Force and Hashmaps

Last updated: August 19, 2024

Understanding Bubble Sort Algorithm

Understanding Bubble Sort Algorithm + Implementation in JavaScript

Last updated: January 25, 2024

Find the Symmetric Difference

Symmetric difference is a concept in set theory and mathematics that describes the set of elements that are in either of two sets but not in both.

Last updated: January 23, 2024

reverseString()

A JavaScript function to reverse a string

Last updated: October 12, 2023

truncateString()

A JavaScript function to truncate a string

Last updated: October 9, 2023