#### is DOMRect not serializing for you?

Today I was writing a playwright test that needed to do some calculations on an element’s coordinates. No problem right? Just get the DOMRect...

Read more#### Code Corner: Triangles

For the last two weeks, I’ve had a bunch of interviews and code challenge tasks I was taking which took up a lot of...

Read more#### Code Corner: Nested Squares

Problem Draw three nested squares in html and css. My Solution Simple, you need three divs nested inside each other with a unique way...

Read more#### Code Corner: Counting Multiples

Problem We are given 3 numbers, a starting number A, an ending number B and an integer K, find the number of multiples of...

Read more#### Code Corner: More Array Hijinks

Problem We have another array operations question. This time we are given two inputs, a number n and a 2d array of operations. Each...

Read more#### Code Corner: Counting Operations

Problem Codility MaxCounters We are given a number n and an array A of length m where each value in A is less than...

Read more#### Evolution of Code Style

When I started programming I developed a particular code style. This style was defined by how I structure my code, how I name things...

Read more#### Code Corner: Missing Number

Problem Source: Codility Given an array A of length n filled with integers find the smallest missing positive number. Example: [4,8,1,3,2] => 5 [1,2]...

Read more#### Code Corner: Long Factorials

Long Factorials Calculating the factorials is one of the most basic algorithms out there. It’s so basic it’s actually used to teach a harder...

Read more#### Code Corner: Permutation Check

The problem: We are doing a permutation check. Given a list A with n elements and the task is to determine if A is...

Read more