Questions tagged [algorithm]

A puzzle related to algorithmics (a main concept in computer science).

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
93 views

How to find number of times sequence element $1$ is approached and from where?

Suppose i have sequence 1,-1,-1,-1,-1,-1 ........-1 .Now i start jumping from first sequence element (i.e 1 in this case) to next one .If i jump from 1 to -1 then element -1 will remain as it is.if i ...
1
vote
0answers
211 views

Finding all possible solutions of a japanese sums puzzle

I'm trying to think of an algorithm that gives out all possible solutions to a japanese sums puzzle. It's not an a college assignment or anything, I'm giving puzzles to my cousin for fun, but want to ...