Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Given a one dimensional array of data write a function that returns
- a new array with the data reversed. Don't just use the reverse
- function that is built into your environment Write a quick and dirty program (Shell, Python, Perl, Java, Lisp,
- C++, APL, or whatever) to produce a count of all the different
- "words" in a text file. Use any definition of word that makes
- logical sense or makes your job easy. The output might look like
- this Write a function that returns M random non-negative integers less
- than some value N. Each integer must also be unique. As above,
- don't just use an existing function which already does produces
- these integers (although feel free to use the random number
- generator) Given a one dimensional array of data write a function that
- returns M random elements of that array. Each element must also
- be from a different position in the array Write a function that creates a node in a graph.
- Write a function that inserts a node as a child of another node.
- These functions should not allow cycles to be created. That is, a node may not directly or indirectly point to itself.
- Write a function to print out a graph (you can assume no cycles).
Advertisement
Add Comment
Please, Sign In to add comment