DEV Community

Duncan McArdle profile picture

Duncan McArdle

Full-stack software developer from the UK, author of the Aftermath book series, full time tech-nerd.

Joined Joined on  github website

Education

Edge Hill University

Work

Full Stack Software Engineer at Isosec

What is LeetCode, and why do I post solutions to it on online?

What is LeetCode, and why do I post solutions to it on online?

3
Comments
5 min read
LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

LeetCode problem #5 — Longest Palindromic Substring (JavaScript)

6
Comments 1
2 min read
LeetCode problem #4 — Median of two sorted arrays (JavaScript)

LeetCode problem #4 — Median of two sorted arrays (JavaScript)

2
Comments
2 min read
LeetCode problem #3 — Longest substring without repeating characters (JavaScript)

LeetCode problem #3 — Longest substring without repeating characters (JavaScript)

2
Comments
2 min read
LeetCode problem #2 — Add two numbers (JavaScript)

LeetCode problem #2 — Add two numbers (JavaScript)

2
Comments
3 min read
LeetCode problem #1 — Two-sum (JavaScript)

LeetCode problem #1 — Two-sum (JavaScript)

6
Comments
3 min read
Sorting algorithms 101

Sorting algorithms 101

2
Comments
5 min read
Quick Sort (JavaScript)

Quick Sort (JavaScript)

2
Comments
3 min read
Merge Sort (JavaScript)

Merge Sort (JavaScript)

1
Comments
4 min read
Binary search (JavaScript)

Binary search (JavaScript)

6
Comments
4 min read
SOLID principle #5: Dependency Inversion (JavaScript)

SOLID principle #5: Dependency Inversion (JavaScript)

9
Comments
2 min read
SOLID principle #4: Interface Segregation (JavaScript)

SOLID principle #4: Interface Segregation (JavaScript)

3
Comments
1 min read
SOLID principle #3: Liskov Substitution (JavaScript)

SOLID principle #3: Liskov Substitution (JavaScript)

7
Comments 1
1 min read
SOLID principle #2: Open-Closed (JavaScript)

SOLID principle #2: Open-Closed (JavaScript)

4
Comments
1 min read
SOLID principle #1: Single responsibility (JavaScript)

SOLID principle #1: Single responsibility (JavaScript)

12
Comments 2
2 min read
FileSync — The Android app I made for synchronising files & folders between devices

FileSync — The Android app I made for synchronising files & folders between devices

2
Comments
3 min read
Call, Apply and Bind in JavaScript

Call, Apply and Bind in JavaScript

4
Comments
3 min read
Maps & Sets in JavaScript

Maps & Sets in JavaScript

3
Comments
4 min read
Battle of the JavaScript for loops (for, for…in, for…of, forEach, etc.)

Battle of the JavaScript for loops (for, for…in, for…of, forEach, etc.)

8
Comments
3 min read
let, const & var in JavaScript

let, const & var in JavaScript

2
Comments
5 min read
Closures in JavaScript

Closures in JavaScript

2
Comments
2 min read
JavaScript labels (a better way to break out of nested loops)

JavaScript labels (a better way to break out of nested loops)

5
Comments
2 min read
Arrow functions in JavaScript (=>)

Arrow functions in JavaScript (=>)

2
Comments
3 min read
WikiMap — a live map view of Wikipedia edits

WikiMap — a live map view of Wikipedia edits

Comments
2 min read
Migrating from MediaWiki to Confluence

Migrating from MediaWiki to Confluence

9
Comments
6 min read
Migrating from GitLab to GitHub

Migrating from GitLab to GitHub

22
Comments
9 min read
The ONLY correct way to handle users changing their email address

The ONLY correct way to handle users changing their email address

8
Comments
5 min read
loading...