Tag: puzzle

668 Expand a random range from 1–5 to 1–7 2008-09-26T04:33:32.907

370 How to find list of possible words from a letter matrix [Boggle Solver] 2009-04-14T02:11:33.013

149 Set every cell in matrix to 0 if that row or column contains a 0 2008-12-04T00:39:17.960

137 What is the simplest SQL Query to find the second largest value? 2008-08-28T12:39:53.287

107 How to find all combinations of coins when given some dollar value 2009-07-09T23:17:28.700

89 Programmer Puzzle: Encoding a chess board state throughout a game 2009-12-02T08:16:13.003

75 The "guess the number" game for arbitrary rational numbers? 2011-03-26T06:19:20.037

61 hello world in C without semicolons and without IF/WHILE/FOR statements 2010-11-10T18:38:16.617

55 How to generate Sudoku boards with unique solutions 2011-08-03T09:20:47.070

48 Algorithm to generate anagrams 2008-09-10T20:15:17.483

48 java based programming challenges 2010-03-30T12:53:57.073

46 Programming Riddle: How might you translate an Excel column name to a number? 2009-04-18T16:13:32.063

45 Algorithm to determine if array contains n...n+m? 2008-10-07T03:19:01.933

42 Linear Time Voting Algorithm. I don't get it 2009-04-23T09:22:52.227

38 How to test randomness (case in point - Shuffling) 2008-09-11T12:27:22.293

37 Finding a single number in a list 2008-08-29T20:03:58.063

33 Two marbles and a 100 story building 2008-08-09T02:23:27.890

33 How to find repeating sequence of characters in a given array? 2010-09-09T09:36:42.610

32 Overload a C++ function according to the return value 2008-10-22T15:02:00.823

30 Interesting OOPS puzzle 2014-06-06T09:08:12.317

28 Fastest algorithm for circle shift N sized array for M position 2009-05-18T04:55:18.040

27 Fixing a broken loop by changing exactly one character 2010-03-23T20:31:53.410

27 Why does (x += x += 1) evaluate differently in C and Javascript? 2012-01-23T22:52:02.597

25 Simple Java Map puzzle 2009-11-06T05:14:11.570

24 Solving Nonograms (Picross) 2009-05-01T21:22:03.713

24 Question from Interview, Retrieve alphabetic order from dictionary 2010-06-26T10:41:58.850

24 Generalizing the algorithm for domino tiling? 2011-09-08T02:03:16.763

23 Eric Lippert's challenge "comma-quibbling", best answer? 2009-04-25T08:37:10.030

23 Multithreading Puzzles 2009-12-07T20:16:23.107

23 C puzzle: Make a fair coin from a biased coin 2011-03-25T05:56:59.257

22 C Code: How does these even work? 2010-11-11T03:21:27.097

21 Riddle: The Square Puzzle 2009-04-20T11:41:59.110

21 Construct the largest possible rectangle out of line segments of given lengths 2011-09-03T17:04:57.370

20 Tape-Equilibrium Codility Training 2013-10-18T16:55:20.437

19 Code Golf: Automata 2009-05-06T21:38:37.157

19 What is your solution to the "Escape from Zurg" puzzle in C#? 2010-08-02T23:19:22.633

19 Programming two trains to intersect without positional data or communication (logic puzzle) 2010-10-25T08:04:51.047

19 Print number of 1s in a sequence up to a number, without actually counting 1s 2011-08-16T10:55:47.583

18 C# Potential Interview Question…Too hard? 2008-09-30T17:31:34.287

18 Programming Riddle: Counting down without subtracting 2009-04-18T17:48:07.623

18 C puzzle: Output of printf should be '5' always 2010-02-02T05:40:28.960

18 Solving Puzzle in Python 2012-04-30T17:40:51.087

17 Why is my simple comparator broken? 2009-03-03T23:37:54.457

17 Check if a number is divisible by 3 2009-05-10T07:22:00.477

17 Modify a given number to find the required sum? 2011-01-01T10:12:33.147

17 What is an elegant way to check if 3 variables are equal when any of them can be a wildcard? 2011-08-10T19:47:32.373

16 What can be the efficient approach to solve the 8 puzzle problem? 2009-09-08T18:24:55.487

16 SQL: how to get all the distinct characters in a column, across all rows 2010-05-27T23:38:49.710

16 The “pattern-filling with tiles” puzzle 2010-07-26T01:22:50.910

16 function with the same name as a macro 2011-05-21T12:24:51.053

16 How to find shortest path in this type of maze 2015-11-04T06:15:59.740

15 Efficiently reverse the order of the words (not characters) in an array of characters 2008-09-06T12:09:57.057

15 i = ++i + ++i; in C++ 2008-12-04T11:35:55.903

15 Bridge crossing puzzle 2009-07-17T16:00:37.913

15 Compile time sizeof_array without using a macro 2009-09-30T20:06:02.937

15 Designing a twenty questions algorithm 2011-02-06T20:12:29.533

15 Pairwise sum of n numbers in non increasing order 2011-12-19T19:39:11.190

14 How do I programmatically return the max of two integers without using any comparison operators and without using if, else, etc? 2008-10-22T20:19:11.607

14 cat file | ... vs ... <file 2010-03-31T11:21:56.613

14 How to programmatically solve the 15 (moving numbers) puzzle? 2010-09-01T19:49:32.853

14 Race Car Puzzle 2010-11-02T06:08:46.237

14 Optimally picking one element from each list 2011-04-13T06:39:25.000

14 Determine if a number only appears once in an array 2013-05-15T15:52:07.923

13 Godel, Escher, Bach Typographical Number Theory (TNT) puzzles and solutions 2009-03-13T20:43:29.723

13 recursion: cut array of integers in two parts of equal sum - in a single pass 2009-07-15T16:06:18.307

13 why is 24 * 60 * 60 * 1000 * 1000 divided by 24 * 60 * 60 * 1000 not equal to 1000 in Java? 2009-08-19T17:15:52.177

13 How to mix two ARGB pixels? 2009-12-22T04:00:02.127

13 Puzzle that defies the brute force approach? 2010-07-24T07:59:20.230

13 Algorithm: Max Counters 2013-09-20T02:45:26.817

13 Java Puzzle with reflection and String 2013-11-17T21:31:45.197

12 Place random non-overlapping rectangles on a panel 2009-04-04T05:24:40.660

12 How do I compute the cartesian product of n sequences in F#? 2010-07-26T11:37:19.903

12 Polynomial time solution for Tetris Puzzle 2015-08-09T19:41:31.403

11 How can I solve the Log Pile wooden puzzle with a computer program? 2010-04-03T22:41:17.680

11 Find the sum of all numbers between 1 and N divisible by either x or y 2010-12-17T05:28:12.920

11 review of a codility test - pair_sum_even_count 2011-01-16T00:33:41.893

11 Strange code in java.util.concurrent.LinkedBlockingQueue 2012-01-11T12:34:46.153

11 How to find the Largest Difference in an Array 2013-09-23T10:15:17.130

10 Factorial in C without conditionals, loops and arithmetic operators 2009-03-17T12:12:49.240

10 What's the scope of a Javascript variable declared in a for() loop? 2010-04-28T21:57:14.550

10 C puzzle: how will you print something on console? 2010-08-20T11:31:55.307

10 Find the smallest set of overlapping jobs 2012-01-31T09:07:20.010

10 Single Number II from leetcode 2014-01-23T00:35:09.983

9 Find the best combination from a given set of multiple sets 2008-08-18T16:39:23.557

9 C Puzzle - play with types 2009-11-13T09:40:53.187

9 Solving a logic puzzle using Prolog 2009-12-21T09:16:49.470

9 How to combine two generators in a non-trivial way 2010-01-05T21:09:48.067

9 ARM assembly puzzle 2010-06-02T18:46:40.853

9 Rectangular region in an array 2010-09-18T13:11:52.857

9 How can I use TDD to solve a puzzle with an unknown answer? 2010-12-27T16:50:38.547

9 How to compute palindrome from a stream of characters in sub-linear space/time? 2011-02-10T22:40:50.147

9 A Dynamic programming problem 2011-03-04T13:36:14.527

9 Interesting SQL puzzle 2011-04-15T17:19:22.750

9 Using ++ inside the sizeof keyword 2011-05-05T07:15:17.603

9 How to print all possible balanced parentheses for an expression? 2011-06-22T22:25:52.033

9 Generalised Two-Egg Puzzle 2012-04-16T15:48:23.573

9 How do I make a puzzle app in droid without running out of memory? 2016-02-29T18:05:23.890

8 Finding your own number in a box 2008-08-29T10:39:13.537

8 Finding Frequency of numbers in a given group of numbers 2008-09-28T09:38:37.093