/images/avatar.jpeg

JWT Auth with Golang & React

JSON Web Tokens (JWT) Authentication with Golang: A Complete Guide

If you’re curious about JSON Web Tokens (JWT) or looking to add authentication to your project, then this post is for you. Today, we’ll explore JWT authentication and build an authentication server using Golang. We’ll also cover how to connect it with the frontend. By the end of this guide, you’ll be equipped to implement JWT for your own projects. So, grab a coffee and let’s dive in!

How to integrate Golang Service with Chat GPT API

How to integrate Golang Service with Chat GPT API.

Intro

In this tutorial we’re going to create a Golang service that communicates with Chat GPT API. The source code you can find here. As a result you should be able to understand how to do it and change the logic for implementing your own use cases.

The Incredible Two Pointers technique

The Incredible Two Pointers Technique

Hey there, fellow learners! I’m Artem, and today’s lesson is all about the incredible Two Pointers technique.

What is the Benefit of the Two Pointers Technique?

Before we dive deep into the details, let’s first talk about the benefit of the Two Pointers technique. This technique can dramatically improve the performance of your solutions, allowing you to optimize algorithms with time complexities like O(n^2) or O(n log n) down to O(n) in many cases.

Big O Notation Notes

Hello everybody and welcome back. My name is Artem and in this blog post we’re going to understand what does Big O notation mean and consider the time complexity. So, Let’s get to it!

Why it’s essential to understand and master Big O?

  • First, it allows you to determine the most efficient solution for task that you need to resolve.
  • Secondly, it potentially could help you to optimise an existing solution that you have implemented already.
  • Finally, most likely that you’ll not pass a coding interview without mastering this topic.

Big O definition

Big O time is the language and metric that describes the efficiency of algorithms. Or to be more precise the way to describe how long algorithm performs as it’s input size growth.