Problem I am trying to implement binary radix sort in C which sorts a linked list of integers stably. Although […]

# Tag: algorithm

## Minimum Refills from A to B

Problem I am studying algorithms and I had to solve this algorithm: Consider the following problem. You have a car […]

## Buy and Sell a Stock for maximum profit (given a day and a price)

Problem If you were only permitted to complete at most one transaction (i.e., buy one and sell one share of […]

## LeetCode #494: Target Sum (Python)

Problem Below is my solution to LC #494: Target Sum (given a list of numbers and a target integer, find […]

## Comb sort in Java

Problem Comb sort may be thought of as a generalization of bubble sort. The following is my implementation: package net.coderodde.util.sorting; […]

## Initializing the edge values of 2D array in Java

Problem I have been asked to write Java method code to do the below: +—+—+—+—+—+ | 0 | 0 | […]

## Selection sort algorithm in x86_64 Yasm assembler

Problem I returned to study assembly language. And this is actually my first function written in Yasm. Implementing this function […]

## Join/ connect all levels of Binary tree without any aux storage

Problem This program connects all nodes of the binary tree at the same level. A node of a tree contains […]

## Project Euler #5 – Smallest Multiple

Problem JavaScript is my first programming language, and I’m still pretty new. I’m just looking for feedback. What can I […]

## Mapping the differences between JavaScript objects

Problem The reason I want to do this is that the JavaScript objects are created from XML elements and if […]