Problem I am trying to optimize my game written in Java and I used the VisualVM launcher for profiling and […]

# Stack Code Review

## General Retry Strategy #3 with TryResult

Problem I wanted to use the Try helper from @DmitryNogin’s General Retry Strategy #2 but each attempt to implement it […]

## Beginner’s attempt for Project Euler problem 12 (highly divisible triangle number)

Problem I’m a couple weeks into learning Python and I’m working through the Project Euler problems. Problem 12 asks: What […]

## Which option is better for readability when dealing with blank strings?

Problem I’m working off a specification that says a bunch of fields within a record (one record being one line) […]

## String manipulations: transform “a-b-c” into “a(b(c))”

Problem function dashesToParentheses(str) { var list = str.split(‘-‘); return str.replace(/-/g, ‘(‘) + repeatString(‘)’, list.length – 1); } function repeatString(str, times) […]

## Download and concatenate text files from multiple API endpoints

Problem Background Chronicling America is an archive of digitized US newspapers hosted by the Library of Congress. The site allows […]

## “Sharing CANDY” on SPOJ

Problem How can I improve it and its running time efficiency? Problem (SPOJ/CANDY) Jennifer is a teacher in the first […]

## Review of HTML markup for this blog concept

Problem I am creating a blog concept with this layout on CodePen Here is my current code in development <article […]

## A reference source for primes up to 64K (for unit tests)

Problem In order to code the tests for my number theory library (a collection of routines that proved handy for […]

## HackerRank, Cracking the Coding Interview: Arrays – Left Rotation

Problem I just wanted to get some constructive feedback on my solution for this problem taken from the HackerRank Cracking […]