Writings & Thoughts

Another way to write your JavaScript

Hi all, in this post I'll share with you some frontend code, that we can write it in another way, And everything is working well, doesn't…

Refactoring Functions

Pure Functions Vs Impure Functions Hello, in this post I'll explain the difference between pure and impure functions in JavaScript, and How…

Hashtables for newbies

HashTables Before we make a hashtable, let's talk about its components , , and . read them even if you know! Components Arrays? if we the…

Remove Duplicate Files in python

the program takes the file path from user, then calculates its sha-256 hash, then takes the folder path from user to search in and start…

ABCD * D = DCBA (Puzzle+Solution)

The Puzzle "ABCD * D = DCBA", Replace every character with a number to make the equation mathematically right. The Solution using brute…

Coffee and Cream problem, My solution

Here's the problem from Mr.Honner Blog: I was recently reminded of an excellent math problem involving mixtures. Imagine yourself sitting in…