en
Feedback
Infosys_Ans

Infosys_Ans

Open in Telegram
8 113
Subscribers
No data24 hours
No data7 days
-3830 days
Posts Archive
🎯Deloitte is hiring for EERM *Location:- Bengaluru, *Hyderabad,gurugram *Qualification:- BTech/MBA/MCA *Batch:-2018/2019/2020/2021/2022 *Salary:- 6LPA Apply:- https://www.joboffersadda.com/2022/05/deloitte.html Telegram:-@Infosys_Ans

GlobalLogic is Hiring Qualifications: B.Tech /B.E / M.Tech/MCA Branch: CSE, IT, ECE and aligned Branches Experience: Fresher's to 1 Year Percentage Criteria: 60% or more starting from 10th until degree CTC: 4.74 LPA Apply:-https://www.joboffersadda.com/2022/05/globallogic-off-campus-recruitment-for.html Job Location: Bangalore Telegram:-@allcoding1

def flip( ch): return '1' if (ch == '0') else '0' # Utility method to get minimum flips when # alternate string starts with expected char def getFlipWithStartingCharcter(str, expected): flipCount = 0 for i in range(len( str)): # if current character is not expected, # increase flip count if (str[i] != expected): flipCount += 1 # flip expected character each time expected = flip(expected) return flipCount # method return minimum flip to make binary # string alternate def minFlipToMakeStringAlternate(str): # return minimum of following two # 1) flips when alternate string starts with 0 # 2) flips when alternate string starts with 1 return min(getFlipWithStartingCharcter(str, '0'), //allcoding1 getFlipWithStartingCharcter(str, '1')) //allcoding1 # Driver code to test above method if name == "main": str = "0001010111" print(minFlipToMakeStringAlternate) Flip or swap code in Python Telegram:-@allcoding1

// Java program to find the XOR of // all elements in the array class GFG { // Function to find the XOR of // all elements in the array static int xorOfArray(int arr[], int n) { // Resultant variable int xor_arr = 0; // Iterating through every element in // the array for (int i = 0; i < n; i++) { // Find XOR with the result xor_arr = xor_arr ^ arr[i]; } // Return the XOR return xor_arr; } // Driver Code public static void main (String[] args) { int arr[] = { 3, 9, 12, 13, 15 }; int n = arr.length; // allcoding1 System.out.println(xorOfArray(arr, n)); } } Prifix XOR code in Java Telegram - @allcoding1

#include using namespace std; #define ll long long examcell ll qdSum(ll n){ if (n==0){ return 0; } return ((n%10)*(n%10)*(n%1
#include <iostream> using namespace std; #define ll long long examcell ll qdSum(ll n){ if (n==0){ return 0; } return ((n%10)*(n%10)*(n%10)*(n%10)) + qdSum(n/10); } ll getProduct(ll n){ // Base Case if(n == 0){ return 1 ; } // get the last digit and multiply it with remaining digits return (n%10) * getProduct(n/10) ; } examcell ll gcd(ll a, ll b) { return b == 0 ? a : gcd(b, a % b); } bool isSpecial(ll N){ if(gcd(qdSum(N),getProduct(N)) > 1){ return 1; } return 0; } int main() { int T; cin>>T; while(T--){ ll N; cin>>N; int count=0; while(N != 1){ if(isSpecial(N)){ count++; } N--; } cout<<count<<endl; } } C++ Telegram - @allcoding1

#include <iostream> using namespace std; class gas { public: int gas; int distance; }; int findStartIndex(gas stationQueue[], int n) { int start_point = 0; int end_point = 1; int curr_gas = stationQueue [start_point].gas - stationQueue [start_point].distance; while (end_point != start_point || curr_gas < 0) { while (curr_gas < 0 && start_point != end_point) { curr_gas -= stationQueue[start_point].gas - stationQueue //allcoding1 [start_point].distance; start_point = (start_point + 1) % n; if (start_point == 0) return -1; } curr_gas += stationQueue[end_point].gas - stationQueue [end_point].distance; end_point = (end_point + 1) % n; } return start_point; } int main() { gas gasArray[] = {{4, 6}, {6, 5}, {7, 3}, {4, 5}}; int n = sizeof(gasArray)/sizeof(gasArray [0]); int start = findStartIndex(gasArray, n); if(start == -1) cout<<"No solution"; else cout<<"Index of first gas station : "<<start; } GAS STATION C++ Telegram - @allcoding1

Python Make palindrome Code Telegram - @allcoding1
Python Make palindrome Code Telegram - @allcoding1

def flip( ch): return '1' if (ch == '0') else '0' # Utility method to get minimum flips when # alternate string starts with e
def flip( ch): return '1' if (ch == '0') else '0' # Utility method to get minimum flips when # alternate string starts with expected char def getFlipWithStartingCharcter(str, expected): flipCount = 0 for i in range(len( str)): # if current character is not expected, # increase flip count if (str[i] != expected): flipCount += 1 # flip expected character each time expected = flip(expected) return flipCount # method return minimum flip to make binary # string alternate def minFlipToMakeStringAlternate(str): # return minimum of following two # 1) flips when alternate string starts with 0 # 2) flips when alternate string starts with 1 return min(getFlipWithStartingCharcter(str, '0'), //allcoding1 getFlipWithStartingCharcter(str, '1')) # Driver code to test above method if name == "main": str = "0001010111" print(minFlipToMakeStringAlternate) Python Telegram - @allcoding1

INFOSYS, TATA STEEL EXAM ANSWERS (23/4/22) All Slot INFOSYS:- http://www.joboffersadda.com/2022/01/infosys-exam-answer.html TATA STEEL:- http://www.joboffersadda.com/2022/04/tata-steel-exam-ans.html Telegram - @Infosys_Ans 🔔Unmute this channel to never miss any updates

Sec 2 - techinal ability Q1) median of terms 7 C Q2) avarege of eleven 20 B Q3) x y means N p $ C Q4) Five brothers B Muliplex Q5) harsh 4 days A Q6) a fruit 1900 C Q7) if m n East B Q8) if the second S D Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

1q)which year born 2 alone D 2q)profit or loss Both I nd ii D 3)q)discount percentage 21500 B 4q)Raghav family Both I nd ii D 5)q) population of uttar pradesh 20500 C 7q) sirman failed Both I nd ii follows C 8q) some jockets Some coats A 9)q) some lines Some cones D 10q)conlcusions Only ii follows C 11)statement a<b F>b C Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

477400 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
477400 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

4000 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
4000 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

62500 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
62500 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

3 And after 1 Or 2 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
3 And after 1 Or 2 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

85 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
85 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

Some second are bikes Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
Some second are bikes Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

22500 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
22500 Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

33.33% Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates
33.33% Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates

1q)which year born 2 alone D 2q)profit or loss Both I nd ii D 3)q)discount percentage 21500 B 4q)Raghav family Both I nd ii D 5)q) population of uttar pradesh 20500 C Infosys exam Ans 🔗 Telegram: @allcoding1 🔔Unmute this channel to never miss any updates