- Launch a MongoDB Instance
- Create a user that can administer users in any database in our MongoDB instance. You may use the following credentials: username: securityofficer password: doughnuts
- Restart the MongoDB server such that only authenticated users may connect.
- Connect to the MongoDB server from the mongo shell authenticating as user securityofficer
- Do a find() on the system.users collection.
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 structure5.*; | |
public class SelectionSort | |
{ | |
public static void main(String args[]) | |
{ | |
ReadStream r = new ReadStream(); | |
int n = r.readInt(); | |
int data[] = new int[n]; | |
int i; |
NewerOlder