๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.61K photos
3 videos
95 files
10.6K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
Hi! Keep reading this message if you are looking for a job and would like to build the future of digital payments, here is a golden opportunity.

NPCI, Indiaโ€™s leading digital payments organisation is scouting for 250 Graduate Engineer Trainees (GET) who will join its team to build revolutionary digital payment products like UPI, RuPay, and FAStag.

It is a โ€˜Learn while you Earnโ€™ opportunity where the GETs will pursue 1 year PG program from a reputed institution in addition to the salary package being offered to them. (*t&c apply)

Get ready to join this innovator's community and inspire the work. Have a great start to your career.

Last date to apply for this opportunity is April 28, 2022. Visit https://bit.ly/3Lc64AO.

Thank you.
class GFG {


static int xorOfArray(int arr[], int n)
{

int xor_arr = 0;


for (int i = 0; i < n; i++) {


xor_arr = xor_arr ^ arr[i];
}


return xor_arr;
}


public static void main (String[] args)
{

int arr[] = { 3, 9, 12, 13, 15 };
int n = arr.length;


System.out.println(xorOfArray(arr, n));

}
}

XOR CODE
๐Ÿ‘1
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <numeric>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <unordered_map>
using namespace std;
char B[105];
int main(){
int n;
int ans=0;
scanf("%d", &n);
scanf("%s", B);
for(int i=2; B[i]; i++){
if(B[i-2] == '0' && B[i-1] == '1' && B[i] == '0') B[i] = '1', ans++;
}
printf("%d", ans);
return 0;
}

Beautiful string code
ArrayList<Integer> ar = new ArrayList<Integer>();
ArrayList<Integer> ar1 = new ArrayList<Integer>();
ArrayList<Integer> arr2= new ArrayList<Integer>();
ArrayList<Integer> sza= new ArrayList<Integer>();
ArrayList<Integer> p_n= new ArrayList<Integer>();

Scanner sc = new Scanner(System.in);

int a_size= sc.nextInt();
int m_size=sc.nextInt();
int[] a = new int[a_size];
for(int i=0;i<a_size;i++){
a[i]=sc.nextInt();
arr2.add(a[i]);
}
int[] p = new int[m_size];
for(int i=0;i<m_size;i++){
p[i]=sc.nextInt();
p_n.add(p[i]);
}
int[] sz=new int[m_size];
for(int i=0;i<m_size;i++){
sz[i]=sc.nextInt();
sza.add(sz[i]);
}

for(int i=0;i<a_size;i++)
{
for(int j=0;j<m_size;j++)
{
if(a[i]==p[j])
{
ar.add(p[j]);
}
}
}
int [] fr = new int [ar.size()];
int visited = -1;
for(int i = 0; i < ar.size(); i++){
int count = 1;
for(int j = i+1; j < ar.size(); j++){
if(ar.get(i).equals(ar.get(j))){
count++;
fr[j] = visited;
}
}
if(fr[i] != visited)
fr[i] = count;
}

for(int i = 0; i < fr.length; i++){
if(fr[i] != visited)
ar1.add(fr[i]);
}
ArrayList<Integer> pnew = new ArrayList<Integer>();
for(int l=0;l<sz.length;l++)
{
for(int h=0;h<sza.get(l);h++)
{
pnew.add(p_n.get(l));
}
}
int count=0;
for(int i = 0; i < pnew.size(); i++)
{
for(int j = i+1; j < pnew.size(); j++)
{
if(pnew.get(i).equals(pnew.get(j)))
{
count++;
}
}
}
System.out.println(count);
}
}


Sequences concatenation code
๐Ÿ‘1
๐Ÿ”” KPIT Technologies Off Campus Drive 2022 : Hiring for Freshers With 6 LPA

* Job Role : Trainee Engineer
* Qualification : B.E/B.Tech
* Experience : Freshers
* Salary : Rs 4-6 LPA

https://fresherearth.blogspot.com/2022/04/KPIT-Technologies-Off-Campus-Drive-2022-Hiring-for-Freshers-With-6-LPA.html

โœ… Share with your friends
๐Ÿ‘1