Accenture Coding Round || Most Asked Part -4 || Complete Explanation with Source Code

  Рет қаралды 7,356

Shaurya Awasthi

Shaurya Awasthi

Күн бұрын

GFG premium Giveaway- • Geeks for Geeks Premiu...
Source Code - github.com/Sha...
Get 25% off on GFG courses, Use Coupon Code - SHAURYA25 .
Use Link that already has the coupon code applied- gfgcdn.com/tu/...
Accenture Hiring Playlist - • Accenture OnCampus Dri...
LinkedIn- / shaurya007
Instagram- / shauryaa.cpp
Portfolio-shaurya-eportf...
For more technical updates join my whatsapp channel :- whatsapp.com/c...
Top 75 Interview Problems from Leetcode Playlist -
• Leetcode - 75 hard Cha...
#accenture #accentureoffcampus #accenturerecruitment #accenturemailupdate #accentureinterview #accenturehiring
#interviews #interviewskills #jobinterviews #liveinterviews #winterviews #radiointerviews #interviewseason #artistinterviews #videointerviews #interviewseries #exclusiveinterviews #mockinterviews #interviewswag #authorinterviews #hiphopinterviews #openinterviews #musicinterviews #bestdamninterviews #interviewsession #interviewstore #bandinterviews #residencyinterviews #redcarpetinterviews #interviewselfie #dopeinterviews #interviewswithmonstergirls #mediainterviews #podcastinterviews #kingofinterviews
#dsa #leetcodesolutions #backtracking #binarysearch #maxheaps #priorityqueue #graphs #binarysearchtree #binarysearch #binarytree #dfs #stack #linkedlist #queues #hashing #slidingwindow #strings #prefixsum #suffix #prefix #twopointers #leetcode #array #strings #2d_array#bitmanipulation #recursion #memoization #topologicalsort #bfs #leetcodehard #array #leetcode #problemsolving #potd #07June #07June2024
#google #googleinterview #amazon #amazoninterview #meta #facebook #netflix #netflixindia #apple #faang #faangpreparation #faangcodinginterviewpreparation
#youtube #youtuber #instagram #music #love #spotify #tiktok #follow #like #explorepage #youtubers #youtubechannel #gaming #twitch #video #instagood #hiphop #memes #viral #subscribe #gamer #rap #facebook #explore #ps #art #soundcloud #k #artist #trending

Пікірлер: 32
@_VISHALKUMAR-du2nu
@_VISHALKUMAR-du2nu Ай бұрын
import java.util.Scanner; public class Solution { public static int operationsBinaryString(String str) { int n = str.length(); if (n == 0) { return -1; } // Initial value (convert the first character to an integer) int ans = str.charAt(0) - '0'; System.out.println(ans); for (int i = 1; i < n - 1; i += 2) { char op = str.charAt(i); // Operator ('A', 'B', or 'C') int b = str.charAt(i + 1) - '0'; // Operand (convert char to int) if (op == 'A') { ans &= b; // AND operation } else if (op == 'B') { ans |= b; // OR operation } else { ans ^= b; // XOR operation } } return ans; } public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String s = scanner.nextLine(); System.out.println(operationsBinaryString(s)); scanner.close(); } }
@riteshmaurya400
@riteshmaurya400 3 ай бұрын
Do not write with blue 🖊️, it is not visible properly.
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
Ok 👍
@kollidasthagirisai2272
@kollidasthagirisai2272 3 ай бұрын
Anna, I am 2025 batch can u please suggest me to crack accenture, already I applied to accenture, but the company will come to our clg may be this month or next month, suggest me anna where to prepare each and every round that make pro in all the rounds
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
You can checkout this playlist - kzbin.info/aero/PL_hZXhT7UThAM6wLOInt6igXTPe3obz0O
@VirtueReason-mq1ut
@VirtueReason-mq1ut 3 ай бұрын
assesment to ghar betka hoga na?
@AnshikaSaxena-v1m
@AnshikaSaxena-v1m 3 ай бұрын
Sir you have explained so clearly... ✌🏻✌🏻
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
Thanks a ton ♥️
@Nishant89-i2z
@Nishant89-i2z 2 ай бұрын
understood
@thegiant007
@thegiant007 3 ай бұрын
Do like this comment for more such videos 👍
@rupeshsings
@rupeshsings 3 ай бұрын
👍
@udy1897
@udy1897 3 ай бұрын
Bhaiya please make video on how to take input
@shaikhuzma786
@shaikhuzma786 3 ай бұрын
Tqsm bhaiya ❤
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
Wlcm ✨
@foulchild5938
@foulchild5938 3 ай бұрын
Can we expect these type of or same questions in August Accenture Assessment ?
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
Yes, we can, also checkout the playlist 👍
@snehadas5012
@snehadas5012 3 ай бұрын
Kya 10/15 din me Accenture clear karnaa possible hai mera coding utnaa strong nahi hai?
@vanshikaukey
@vanshikaukey 3 ай бұрын
In accenture do we have to write whole code like main function and all Or do we only need to write logic in it???
@udy1897
@udy1897 3 ай бұрын
main function + logic
@niteshsingh608
@niteshsingh608 3 ай бұрын
❤❤
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
✨♥️
@jaanvirathore1850
@jaanvirathore1850 3 ай бұрын
shaurya awasthi bhai tum mera accenture clear krwake hi maanoge...
@swagboltey102
@swagboltey102 3 ай бұрын
Bas yeh bole so follow hue toh coding round clear hojyga?
@amandeepbajpai1888
@amandeepbajpai1888 3 ай бұрын
You are doing good bro..!! Keep going
@Shauryaaa007
@Shauryaaa007 3 ай бұрын
Thank you so much ☺️
@pushpendrashukla8227
@pushpendrashukla8227 3 ай бұрын
Please provide solution in java
@_VISHALKUMAR-du2nu
@_VISHALKUMAR-du2nu Ай бұрын
import java.util.Scanner; public class Solution { public static int operationsBinaryString(String str) { int n = str.length(); if (n == 0) { return -1; } // Initial value (convert the first character to an integer) int ans = str.charAt(0) - '0'; System.out.println(ans); for (int i = 1; i < n - 1; i += 2) { char op = str.charAt(i); // Operator ('A', 'B', or 'C') int b = str.charAt(i + 1) - '0'; // Operand (convert char to int) if (op == 'A') { ans &= b; // AND operation } else if (op == 'B') { ans |= b; // OR operation } else { ans ^= b; // XOR operation } } return ans; } public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String s = scanner.nextLine(); System.out.println(operationsBinaryString(s)); scanner.close(); } }
@VamsiDevendrakumar__
@VamsiDevendrakumar__ 3 ай бұрын
@rupeshsings
@rupeshsings 3 ай бұрын
❤❤
Coding was HARD until I learned these 7 things
8:35
Sahil & Sarra
Рет қаралды 75 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 31 МЛН
Elza love to eat chiken🍗⚡ #dog #pets
00:17
ElzaDog
Рет қаралды 22 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,9 МЛН
GSOC 2025 Complete Roadmap: Step by Step Guide
15:30
Harkirat Singh
Рет қаралды 108 М.
FASTEST Way To Learn Coding and ACTUALLY Get A Job
10:44
Brian Cache
Рет қаралды 1,2 МЛН
Most Asked Strings Questions in Accenture
32:34
Prime Coding
Рет қаралды 26 М.
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 31 МЛН