Systemantics
  • Home
  • About
Sign in Subscribe

UVa 102. Ecological Bin Packing | with Brute-force search

07 Mar 2013 Algorithm
The UVa 102: Ecological Bin Packing can be solved using brute-force search, as outlined in the following Java code snippet. Note that, the primary function getOPTConfiguration iterates over all possible bin arrangements, and

SPOJ 8545. Subset Sum (Main72) with Dynamic Programming and F#

27 Feb 2013 6 min read Algorithm
The Subset Sum (Main72) problem, officially published in SPOJ, is about computing the sum of all integers that can be obtained from the summations over any subset of the given set (of integers)

Internal DSL Development with F# | via @tomaspetricek

26 Feb 2013 DSLs
Recently, Tomas Petricek gave a talk on the topic of internal DSL development with F#. In particular, he discussed the motivation behind DSL development, and demonstrated a number of example DSLs using F#

SPOJ 346. Bytelandian Gold Coins (COINS) with Dynamic Programming and F#

26 Feb 2013 3 min read Algorithm
The Bytelandian Gold Coins problem, officially published in SPOJ, concerns computing the maximum dollars that can be exchanged for a Bytelandian gold coin. In this post, we outline a solution to this problem

UVa 100. The 3n+1 Problem: Solving with a Brute-force Algorithm

21 Feb 2013 1 min read brute-force
The UVa 100: The 3n+1 Problem is about collatz problem, which we have discussed in details in a recent post. The following Java code describes a brute-force algorithm to solve this problem.
Previous
Page 9 of 28
Next
Systemantics © 2026
  • Sign up
Powered by Ghost