This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.Runnable; | |
import java.lang.Thread; | |
/** | |
* The Main Class. | |
**/ | |
public class Collision { | |
/** | |
* Main entry point into the application. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
/** | |
Structure for storing an individual node in the list. | |
**/ | |
typedef struct Node | |
{ | |
int data; | |
struct Node* next; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
class Item: | |
next = None | |
data = 0 | |
def __init__(self): | |
self.data = random.random() |
NewerOlder