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> | |
using namespace std; // Add this line | |
int lengthOfLongestSubstring(string s) { | |
int n = s.length(); | |
int maxLength = 0; |
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
import { BrowserRouter,Routes, Route } from "react-router-dom"; | |
<BrowserRouter> | |
<Routes> | |
<Route path="/props" element={<Props color="red"/>}/> | |
<Route path="/propsobject" element={<PropsObject future={myarray} />}/> | |
</Routes> | |
</BrowserRouter> |