DO NOT USE - prefer constructive questions, or use more descriptive tags.
Without running this code, identify which Foo method will be called: class A { public void Foo( int n ) { Console.WriteLine( "…
c# .net puzzleit's Friday afternoon, let's have a fun puzzle/algorithm problem to solve. One of my favorite Nintendo DS games is …
algorithm puzzleI recently took an online test on codility as part of a recruitment process. I was given two simple problems …
java algorithm puzzleThe 8-puzzle is a square board with 9 positions, filled by 8 numbered tiles and one gap. At any point, a tile …
algorithm logic puzzle a-star sliding-tile-puzzleWhat is the fastest algorithm for circle shifting array for M positions? For example, [3 4 5 2 3 1 4] shift M = 2 positions should be [1 4 3 4 5 2 3]. Thanks …
algorithm arrays math puzzle programming-pearlsGiven an array of characters which forms a sentence of words, give an efficient algorithm to reverse the order of …
algorithm language-agnostic reverse puzzleFour men have to cross a bridge at night.Any party who crosses, either one or two men, must carry …
algorithm puzzleI am looking for an algorithm to solve a "sliding puzzle", the kind of puzzle where you have an image …
algorithm puzzle slidingSuppose I have an array of integers: int[] A = { 10, 3, 6, 8, 9, 4, 3 }; My goal is to find the largest difference between A[Q] …
c# algorithm puzzle