Published in


Sort Integers by The Number of 1 Bits With Python and Rust

Solving a leetcode problem comparing runtime and memory usage

Photo by Hasan Almasi on Unsplash

When I was coding with Rust to solve this problem, I thought I was dealing with memory so harshly and also thought that time will not be very optimized.

Until I saw this:



Storytelling community about thoughts and improvements for the better. Join us today and make a brainwave

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ezzeddin Abdullah

Helping you build better habits & level up your Python, SQL, and data analysis skills. Get my free ebook: