Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

Archive for February 2018

Given a linked list, determine if it has a cycle in it

Problem statement Given a linked list, determine if it has a cycle in it. Solution For the solution we are going to use a technique known as the two-pointer technique. That is we will involve two pointers: one slow-runner and the other fast-runner. The slow-runner will move forward 1 list . . . Read more

Cronjob to renew Let’s Encrypt Certificate

In this post I have described how to manually renew Let’s Encrypt SSL certificate. Here I describe how to configure a cronjob to automatically renew my certificates when they are about to expire. Setup default AMI editor to nano:

Add the following:

The && operator makes sure . . . Read more