## fizzbuzzer

### Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

### Compare tables in different databases using a pre-defined mapping – Java, JDBC, Hibernate

Full code https://github.com/lucaslouca/database-comparison

### Compare Excel sheets in Java

Full code https://github.com/lucaslouca/compare-sheets

### A simple maze generation algorithm

Knowing how to create a maze is as essential as breathing. So here is a simple algorithm to create mazes along with a link to a GitHub repository for its implementation in Swift. Algorithm 1. Start at cell (1, 1). 2. Find a neighbor at random that you haven’t yet . . . Read more

### Java application to list all cycles in an undirected and directed graph

Problem Statement Given a graph G = (V, E), list all cycles within G. Algorithm 1. Compute a cycle basis of graph G = (V, E) * Find a minimal spanning tree (V, E’) of G, using Depth-first search (DFS) and its associated set of back edges * If e . . . Read more

### Finding n-th permutation without computing others

Given S of size n and k, return the kth lexicographic permutation sequence. (Note: Given n will be between 1 and 10 inclusive.) For n = 10 variable symbols we have 10! possible permutations. The first step is to find the first symbol. If we fix a first symbol, then . . . Read more

### Build WAR file with Maven and deploy with Ant

Minimalistic Ant script for Tomcat war file deployment. This script first does a mvn clean and mvn install on the defined maven project. It then connects to the provided server, stops the running Tomcat, uploads the newly created .war file to the Tomcat’s webapp directory and starts the Tomcat again. . . . Read more

### External sort large file

Full code https://github.com/lucaslouca/sort-large-file

### Understanding the contentOffset and contentInset properties of the UIScrollView class

In order to better understand the purpose of these two properties, it is important that we understand the contentSize property. The scroll view must know the size of the content view. This is important because the size of the content view can be larger than the visible area (example: screen) . . . Read more