C++ and dsa question 1.
Find Displacement : Given a long routes containing N,S,E,W directions, Find the shortest path to reach out the location.
sample input :SNNNEWE
Sample output :
NNE
solution : -------------
#include<iostream>
using namespace std;
int mai...
amankesharwani.hashnode.dev1 min read