✅ C++ || Easy Solution
\nclass Solution {\npublic:\n    int minNumberOfHours(int initialEnergy, int initialExperience, vector<int>& energy, vector<int>& experience) {\n        int hrs
```\nclass Solution {\npublic:\n    int minNumberOfHours(int initialEnergy, int initialExperience, vector<int>& energy, vector<int>& experience) {\n        int hrs = 0;\n        int ine = initialEnergy;\n        int inex = initialExperience;\n        int n = energy.size();\n        \n        for(int i=0;i<n;i++)\n        {\n                if(energy[i]>=ine)\n                {\n                    hrs += energy[i]+1-ine;\n                    \n                    ine=energy[i]+1;\n                }\n                if(experience[i]>=inex)\n                {\n                    hrs += experience[i]+1-inex;\n                    \n                    inex=experience[i]+1;\n                }\n                ine=ine-energy[i];\n                inex=inex+experience[i];\n            \n        }\n        return hrs;\n    }\n};\n```
['C']