+ 8
Hello anyone pls help me out
Will you give me something to code? like a problem or challenge. for example create a program that counts the number of clumps in an array. Thank you in advance 😊
4 Antworten
+ 3
try leetcode, it gives you programming challenges just like you described
+ 1
see SPOJ.com for stuff like that bro!
also make me a shortest-path algorythm. you are given a graph of towns and their connections and after that you have to make the shortest path from one town to another (like from a to f) and print it out
+ 1
Conway's Game of Life: Given a starting 2D array and number of "cycles", find what the board would look like at the end.
Life consists of 4 simple rules. At each cycle:
1: Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
2: Any live cell with two or three live neighbours lives on to the next generation.
3: Any live cell with more than three live neighbours dies, as if by overpopulation.
4: Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
Use different characters to symbolize alive and dead, say 'x' and 'o'.
0
Prime generator is cool for that.
Anyway, find some idea for Your own program - it's best You can do.
If You have a regular time for programming - don't use autocompletion or autosuggestion; like GPS - You'll stop to remember a paths....