This file contains 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<iostream> | |
#include<vector> | |
using namespace std; | |
void SortVector(vector<int>& myVec); | |
int main(){ | |
int size, input; | |
cin >> size; // get size from user. | |
vector<int> x(size); |
This file contains 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
/* | |
Imagine a struct like: | |
struct Bid { | |
string title; | |
string fund; | |
double amount; | |
} | |
Then taking a csv, reading the data into the bid, and then adding it to a vector. |
This file contains 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<iostream> | |
#include <string> | |
#include <unordered_map> | |
class Solution { | |
public: | |
int romanToInt(std::string s) { | |
int sum = 0; | |
int length = s.length(); |
This file contains 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
<!DOCTYPE html> | |
<!-- We use the HTML5 doctype as it's the most widely supported and our recommended doctype, for more on this visit https://www.emailonacid.com/blog/article/email-development/doctype_-_the_black_sheep_of_html_email_design/ | |
In our HTML tag we include a language for accessibility purposes and VML namespace declaration, for if we need to add specific Outlook VML code.--> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<head> | |
<!-- This Outlook specific code helps alleviate the issues caused by high DPI versions of Outlook. --> | |
<!--[if gte mso 9]><xml> | |
<o:OfficeDocumentSettings> | |
<o:AllowPNG /> |