Answer:
#include <bits/stdc++.h>
using namespace std;
int main() {
string ms;
getline(cin,ms);
stack<char>st;
for(int i=0;i<ms.length();i++)//Inserting every element in the stack..
{
st.push(ms[i]);
}
while(!st.empty()) //doing operation until the stack is not empty..
{
char a=st.top();//accessing the top element of the stack...
st.pop();//removing the head.
cout<<a;//printing the character..
}
return 0;
}
Input:-
murder
Ouput:-
redrum
Explanation:
An easy way to reverse anything is to use stack.Since stack is LIFO type data structure so the last item in will be the first one to get out hence it reverses the elements.So inserting every element of the string into the stack of characters and then printing the every element of the stack from top to bottom.
LAN is the networking device and channel that interconnects the local area systems. If the company uses LAN, then issues with speed and connectivity will occur.
<h3>What is LAN?</h3>
The local area network connects the computers of small and local regions confined to small geographical areas and is seen in the schools, offices, and residences.
If LAN is used between more people then the internet speed and connectivity will be affected as there will be redundancy in the data packet transfer speed.
Therefore, the speed and connectivity will be affected.
Learn more about LAN here:
brainly.com/question/14308916
#SPJ1
The PSU or most commonly known as the Power Supply.
Answer:
Recently, with the new and advanced hacking algorithms and affordable high-performance computers available to adversaries, the 36 character computer suggested passwords can easily be insecure.
Explanation:
The 8 length passwords generated pseudo-randomly by computers are not secure as there are new algorithms like the brute force algorithm that can dynamically obtain the passwords by looping through the password length and comparing all 36 characters to get the right one.
And also, the use of high-performance computers makes these algorithms effective