ru
Feedback
WhiteHat Coding

WhiteHat Coding

Открыть в Telegram

Sharing = caring = spreading happiness

Больше
650
Подписчики
Нет данных24 часа
-27 дней
-330 день
Архив постов
Directed Soldier int directedSoldiers(int n, vector &a) {     // Write your code here.     int d=0;     vector p, p1;     vector b = a;     reverse(b.begin(), b.end());     int k=0;     for (int i = 0; i < n; i++) {         if (b[i]==0) {             k++;         }         p1.push_back(k);     }     for (int i = 0; i < n; i++) {         if (a[i] == 1) {             d += 1;         }         p.push_back(d);     }     reverse(p1.begin(), p1.end());     p1.push_back(0);     int res = count(a.begin(), a.end(), 0);     for (int i = 0; i < n; i++) {         int x = p[i] + p1[i + 1];         res = min(res, x);     }     return res;      }

#include <vector> std::vector<int> binaryQueries(int n, std::vector<int>& a, int q, std::vector<std::vector<int>>& queries) {     std::vector<int> result;     for (const auto& query : queries) {         int left = query[0];         int right = query[1];         int x = query[2];         // Update the array 'A' according to the query         for (int i = left; i <= right; i++) {             a[i] ^= x;         }         // Calculate the bitwise OR for the specified range         int orResult = a[left];         for (int i = left + 1; i <= right; i++) {             orResult |= a[i];         }         result.push_back(orResult);     }     return result; }    binary quires

Any  campus placement or Offcampus Exam. Help available in All exams. Book your slot.👨‍💻 Contact @IHATEU_183 ✅ Its paid ✅ 100% clearance guarantee 🔥🔥 Share @Coding_000 ❤️

second largest element share @whitehatcoding❤️
+1
second largest element share @whitehatcoding❤️

pattern code Share @whitehatcoding❤️
+1
pattern code Share @whitehatcoding❤️

Visa Mock Interview available✅ Anyone need DM @Iloveu_143👨‍💻 Full visa preparation materials and mock to be taken....Daily..😊 Share @Coding_000❤️

Any exam Feel Free to ask help...✅ https://t.me/Free_coding000 Share our Free helping channel @whitehatcoding❤️

juspay code share @whitehatcoding❤️
+1
juspay code share @whitehatcoding❤️

juspay code share @whitehatcoding❤️
+1
juspay code share @whitehatcoding❤️

juspay code share @whitehatcoding❤️
+1
juspay code share @whitehatcoding❤️

juspay code share @whitehatcoding❤️
+1
juspay code share @whitehatcoding❤️

#include using namespace std; int main() { &nbsp;&nbsp; int number,n; &nbsp;&nbsp; cin&gt;&gt;number&gt;&gt;n; &nbsp;&nbsp; i
#include <iostream> using namespace std; int main() {    int number,n;    cin>>number>>n;    int first=0,sec=1;    int fib=0;    while(fib<=number)    {        fib=first+sec;        first=sec;        sec=fib;        if(fib==number)        {            while(n--)            {                fib=first+sec;                first=sec;                sec=fib;            }        }    }     cout<<fib;     return 0; }

2024,25batch students join here For exam paid helps https://t.me/coding_2024✅

*Company Name:* NVIDIA *Batch:* 2023 pass-outs. *CTC:* 26 LPA ( for B.Tech ) 29 LPA ( for M.Tech ) https://docs.google.com/forms/d/e/1FAIpQLSdb-DgfEyLs0-28hPa9asMTE-5bQAvsqsyBmpWkYFFiZF7Yng/viewform

Guys share this channel to ur friends... Any exams...pls msg here...i will help You...Free...✅ Share @whitehatcoding❤️ Team - #Love #whitehatcoding

Prime Numbers python✅ share @whitehatcoding❤️
+1
Prime Numbers python✅ share @whitehatcoding❤️

Number of decodings Python✅ Share @whitehatcoding❤️
+2
Number of decodings Python✅ Share @whitehatcoding❤️

Java ✅
+3
Java ✅