Programming tutorials and coding challenges
Quick filters:
Google Hash Code Pizza Problem: Solved
Solved the pizza practice problem to get ready for the Google Hashcode qualification process.
Problem-Solving Tournaments#Algorithms#Google hashcodeGoogle Hash Code More Pizza Problem Solution
This year, the Google Hash Code team has proposed a different version of the Pizza practice problem, entitled "More Pizza". The challenge description - as usual - is available for all users registered to the Google Hash Code judge system. Plea...
Problem-Solving Tournaments#Google hashcodeSimulated Annealing algorithm description
The description of the Simulated Annealing algorithm I used to get maximum score for the More Pizza problem.
Problem-Solving Tournaments#Algorithms#Google hashcode#simulated annealingBook Scanning Google Hash Code: Problem
This article contains a short description of the problem proposed for the Google Hash Code Online Qualification process on Feb 20th, 2020
Problem-Solving Tournaments#Google hashcodeC++ Lambda functions: 3 Powerful Examples
C++ Lambda functions are largely used for many different purposes. In this post, 3 different examples are proposed to show classical usage of lambda functions.
Programming Languages#C++ programmingSimulated Annealing algorithm | C++ code
Explore a detailed C++ implementation of the Simulated Annealing algorithm to efficiently solve the More Pizza problem. Ideal for professionals.
Problem-Solving Tournaments#Algorithms#Google hashcode#simulated annealing algorithmC++ Coding Challenge: Enum Type Size
Master C++ enum sizing with this comprehensive coding challenge. Perfect for technical interviews and competitive programming preparation.
Coding Challenges#C++ programming#Technical Interviews#Data Structures#Memory ManagementC++ #pragma pack: Memory Alignment Guide
The directive #pragma pack is used to change the current packing alignment value on the internal compiler stack and how data is stored inside a structure.
Programming Languages#C++#C++ programming#compilerCalculate K-Item Combinations: 2 Methods
Calculate all combinations of k items taken from a set of n elements is not difficult with the proposed recursive and iterative methods.
Programming Languages#Algorithms#C++ programmingHow-to install Raspberry PI Desktop on a VM
Installing Raspberry PI Desktop (Raspbian) on a Virtualbox VM is very easy and it allows to run some basic scripts on an emulated Raspberry PI board.
How-to and tutorials#Linux OS#Raspberry Pi#virtual machinesEven More Pizza Hash Code 2021: Problem
'"Even more pizza" is the new practice problem proposed for the Hash code 2021 challenge. The goal is to help an imaginary pizzeria to choose the pizzas to deliver to Hash Code teams.'
Problem-Solving Tournaments#Google hashcode#pizza problemEven More Pizza Hash Code: C++ Algorithm
'This post contains my C++ source code for the "Even More Pizza" practice problem released for the Google Hash Code, 2021.'
Problem-Solving Tournaments#Algorithms#Google hashcode#pizza problemFinding min and max values in a C++ container
How-to use C++ functions min_element() and max_element() to find the elements having the lowest and highest value in a container.
Programming languages#C++ programming#STL containersQuick C++ std::vector initialization
How many ways exist to initialize a std::vector in C++? Let's see some examples...
Programming Languages#C++#C++ programming#STL containersC++ Boost Library v1.75.0 Build & Install Guide
Build, install and test the C++ Boost Library (v1.75.0): the basic approach step-by-step to build and install the 32 bit version.
How-to and tutorials#boost libraryGit Unstaged Changes After Revert: CRLF/LF Fix
If Git is not reverting the CRLF/LF characters at the end of the lines of the relevant files, this is what you need to do!
How-to and tutorials#GitSTL Container Inheritance: Why It's Bad Design
A class must not inherit from a STL container to replicate its behavior and add some few new functionalities. Let's see why...
Programming Languages#C++#Class design#STL containersOne Pizza Hash Code 2022: Problem & Score
The "One pizza" problem is the practice problem proposed by Google for the Hash Code challenge 2022. Check the problem description and score.
#Google hashcode#pizza problemBest C++20 Books: My Reviews & Recommendations
Would you like to learn C++20? Do you know which are the best books to learn C++20? Let me share my personal wish list and reviews.
Programming Languages#books#Modern C++#ReviewsMain differences between C and C++
C++ provides OOP and modern features, whereas C is simple and efficient for systems programming. Discover the main differences between C and C++.
Programming Languages#Ansi C#C++Fix black screen issue for Ubuntu VM in 8 steps
Step-by-step guide to resolve Ubuntu VM black screen issues caused by insufficient hard disk space. Quick troubleshooting solution.
How-to and tutorials#VirtualboxThe 5 Mindsets of a Modern C++ Programmer
Learn the 5 mindsets that you need to have in order to master C++. This presentation will cover efficiency, concurrency, debugging, imperative, and functional mindsets.
Programming Languages#C++ programmingPexels and Unsplash channels now available!
Just launched our new channels on Pexels and Unsplash where you'll find photos and images to elevate your work!
Creative & Art#Pexels#UnsplashBeats Detection for Reels using Python
Do you know you can use Python for automatic beats detection and to optimize the photo transitions timing in your IG and FB reels?
Programming Languages#Python#Social NetworksYork River Reflections: Photography & Art
As an artist, I''m always looking for inspiration, and my recent visit to York did not disappoint. From the peaceful reflections on the River Ouse, the picturesque white boat drifting across the river and the beautiful water mill on the River Fos...
Creative & Art#Inspiring#Social NetworksC++ Rises in Popularity: TIOBE Index Update
C++ rises in TIOBE Index, Swift's influence grows, and C++'s enduring relevance in programming.
Programming Languages#TIOBE IndexSunset Walk: My First Watercolor Painting
“A Man Walking at Sunset” is my first watercolor painting, created with professional watercolor tubes and paper.
Creative & Art#Artwork#sea#sunsetC++ noexcept Specifier: Performance Impact
The noexcept specifier have a huge impact on your code performance. Let's briefly try to understand why.
Programming Languages#C++ programming#Modern C++Return Error Values vs. Exceptions in C++
C++ offers two primary mechanisms: return values and exceptions. Choosing the right approach affects readability, maintainability, and performance.
Programming Languages#C++#Exceptions#Error managementC++ Object Construction/Destruction Order
Can you predict the exact order of construction / destruction of these classes? Which is the console output?
Coding Challenges#C++#Class Hierarchy






















