7 970
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
Repost from Jobs & Internships
Organization: Nagarro
Job Title: Trainee
Salary: up to 30k/month
Location: Work From Home
Job Type: Full time
Experience: Freshers
Batch: 2023/22/21/20/19/18/17
✅Apply link: https://nxthiring.com/nagarro-off-campus/
Join Our WhatsApp Group👇🏻
https://whatsapp.com/channel/0029VaEcoKtAYlUGF7LiJT2S
Share this opportunity with your friends.🤗
Hi N Welcome to this Community, Subscribe Our YouTube Channel📣 for Daily Jobs Updates and Study Material
Hi Nikchith Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
import java.io.*;
class Geek {
// prints the arrangement at time = t
static void solve(int n, int t, char s[])
{
// Checking the entire queue for
// every moment from time = 1 to
// time = t.
for (int i = 0; i < t; i++)
for (int j = 0; j < n - 1; j++)
/*If current index contains 'B'
and next index contains 'G'
then swap.*/
if (s[j] == 'B' && s[j + 1] == 'G') {
char temp = s[j];
s[j] = s[j + 1];
s[j + 1] = temp;
j++;
}
System.out.print(s);
}
// Driver function
public static void main(String args[])
{
int n = 6, t = 2;
String s = "BBGBBG";
char str[] = s.toCharArray();
solve(n, t, str);
}
}
*Write according to you..its just a logic for this question*
Hi THRIVENI Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Nitin Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Bikki Welcome to this Community, Subscribe Our YouTube Channel📣 for Daily Jobs Updates and Study Material
Hi Marston Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
Hi Pankaj Mehta Join Our Channel for daily Off-Campus Job Updates ❤️
👇👇
@offcampusjobs_0
@offcampusjobs_0
