Ayush7614 / Daily-Coding-DS-ALGO-Practice

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
https://daily-ds-algo.github.io/DS-Algo-Website/
MIT License
321 stars 474 forks source link

Maps-STL HackerRank #2016

Closed gunjan-g closed 3 years ago

gunjan-g commented 3 years ago

Program Link: https://www.hackerrank.com/challenges/cpp-maps/problem

Aim: You are appointed as the assistant to a teacher in a school and she is correcting the answer sheets of the students. Each student can have multiple answer sheets. So the teacher has Q queries:

  1. X Y : Add the marks Y to the student whose name is X.
  2. X : Erase the marks of the students whose name is X.
  3. X : Print the marks of the students whose name is X. (If X didn't get any marks print 0.)

Details: image

Programming Languages:

gunjan-g commented 3 years ago

@Amit366 @ravikr126 @Ayush7614 Please assign this issue to me under the label LGM-SOC