-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathRandomizeDSA.cpp
More file actions
43 lines (34 loc) · 741 Bytes
/
RandomizeDSA.cpp
File metadata and controls
43 lines (34 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include <iostream>
#include <utility>
#include <vector>
#include <numeric>
#include <queue>
#include <cmath>
#include <map>
#include <string>
#include <cstring>
#include <algorithm>
#include <fstream>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include <list>
#include <stack>
#define ll long long
#define dd double
#include <stack>
#include <chrono>
#include <thread>
#include <iomanip>
#include <cstdlib>
#include <ctime>
#include <forward_list>
using namespace std;
int main(){
vector<string> list = {"Map","Set","Vector","Queue","Stack","Pair","Tree","Graph","Linked List"};
srand(time(0));
int x = rand()%10 - 1;
int y = rand()%10 - 1;
cout<<list[x]<<" in "<<list[y];
return 0;
}