عرض المشاركات من ديسمبر, 2022

Hands-On Data Structures and Algorithms with TypeScript

This book is intended for those who do not have the time to read a lengthy book or tutorial. This book is a collection of algorithms and data structures, along with the code that explains them. This book is simple to understand…

Docker ENTRYPOINT and CMD : Differences & Real world Examples

Docker, a powerful containerization platform, provides flexibility in defining how your containers should behave. Two key instructions, CMD and ENTRYPOINT , play crucial roles in determining what happens when you start a Docker…

Run the Docker daemon as a non-root user

Docker containers are powerful tools for isolating and running applications, but they often run as the root user by default. Security best practices recommend minimizing the use of root privileges to reduce potential vulnerabili…

What is Docker and How Does It Work?

Docker has revolutionized the way we build, ship, and run applications. Its lightweight containers and portability have made it a cornerstone of modern software development and deployment. In this blog post, we’ll unravel the ma…

Advanced Docker Concepts

Advanced Docker Concepts 1. What is Docker and How Does It Work? Learn about Docker, a containerization platform revolutionizing application deployment. Explore its core concepts and understand how it simplifies the developmen…

Find the middle of a given linked list

The Tortoise and Hare Algorithm is a popular algorithm used to find the median of a linked list. It derives its name from the fable of the tortoise and the hare, where the tortoise wins due to its steady pace. This algorithm prov…

Two-Pointer Algorithm in JavaScript

The two-pointer technique is a powerful approach to solving certain problems with optimal time and space complexity. One common application is finding pairs in a sorted array that sum up to a given target. In this example, we’ll…

Why Do We Use SOLID Principles in C#?

The goal of the SOLID principles is to make our code more maintainable and extensible. While this is the ultimate goal, it’s not always the first step we take when starting a new project. The SOLID principle are guidelines for wr…

Which One Should You Choose TypeScript vs JavaScript

When it comes to choosing between JavaScript and TypeScript, there are a few factors that should be considered. One of the biggest differences between the two is that TypeScript is a superset of JavaScript so it means that it ha…

How to Generate Prime Number Using JavaScript

Prime number is a natural number that has exactly two distinct natural number divisors: 1 and itself. The first 30 prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47 and 53. Prime numbers are very importa…

How to Implement DoublyLinkedList in TypeScript

DoublyLinkedList is a data structure that contains a head, tail and length property. Linked Lists consist of nodes, and each node has a value and a pointer to another node or null. The DoublyLinkedList is an extension of Link…

تحميل المزيد من المشاركات
لم يتم العثور على أي نتائج