[23rd Aug 2024] Accenture Todays Actual Coding Questions 2025 Batch | Accenture Latest Coding Ques

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 67

  • @CodeBashers
    @CodeBashers  2 หลายเดือนก่อน

    ✅✅Important IT Interview Subject Notes: topmate.io/code_bashers/1026390

  • @sumitkumartah2106
    @sumitkumartah2106 2 หลายเดือนก่อน +10

    How the compiler of accenture plz make a video on that

  • @kalaikalaivanan9024
    @kalaikalaivanan9024 2 หลายเดือนก่อน +4

    a = input()
    b = input()
    c = input()
    temp = '/0'
    a = a.replace(b,temp).replace(c,b).replace(temp,c)
    print(a) for 2nd question

  • @siddhsrivastava7097
    @siddhsrivastava7097 2 หลายเดือนก่อน +1

    We can do the second question with the help of HASHMAPS , right ?

  • @gauravmaurya7755
    @gauravmaurya7755 2 หลายเดือนก่อน +1

    Sir can you tell us which type of question comes under easy and medium as there are two two question in accenture ?
    Which topics we need to cover

  • @shreyasinha4016
    @shreyasinha4016 2 หลายเดือนก่อน +1

    bro jisne test de diya h kya wo pls bta skte ki kya dp ke vi ques a rhe

  • @mashapoguajay3322
    @mashapoguajay3322 2 หลายเดือนก่อน +1

    Is Accenture exam is offline or online 😅is it held in exam centers or one can write from home it self

  • @villain903
    @villain903 2 หลายเดือนก่อน +3

    Why don't you keep the screenshots of questions
    So that we can know these are the actual oncampus asked questions

    • @CodeBashers
      @CodeBashers  2 หลายเดือนก่อน +1

      Bro exam are happening in College, i dont get images.
      Students tell me verbally on telegram and then i make video.

    • @villain903
      @villain903 2 หลายเดือนก่อน +1

      @@CodeBashers okay
      Can you please ask them on which platform they are writing coding test
      Is it mettle or Accenture's own ide
      I've exam in upcoming week

    • @CodeBashers
      @CodeBashers  2 หลายเดือนก่อน +1

      @@villain903 no its accenture platform , something called green.

  • @NoDistractions02
    @NoDistractions02 2 หลายเดือนก่อน +1

    1st question in JAVA
    public static int occurrence(int[] arr, int size){
    if(size == 0 || size == 1) return 0;
    int max = arr[size-1];
    int second_max = Integer.MAX_VALUE;
    for(int i = size - 1; i > 0 ; i-- ){
    if(max != arr[ i - 1 ]){
    second_max = arr[ i - 1 ];
    break;
    }
    }
    System.out.println("Second largest = "+ second_max);
    int cnt = 0;
    for(int i : arr){
    if(i == second_max){
    cnt++;
    }
    }
    return cnt;
    }

  • @techsavvy_wannabe
    @techsavvy_wannabe 2 หลายเดือนก่อน

    Sir can I use any short cut key while coding like ctrl c

  • @marathi_vishwa
    @marathi_vishwa 2 หลายเดือนก่อน +1

    Anyone please tell me that everyone got different questions to solve in exam or every student in perticular batch have same questions plz reply anyone ❤

  • @shaikabdulsalam7290
    @shaikabdulsalam7290 2 หลายเดือนก่อน

    Sir make a playlist on cognitive Assment and technical mcq

    • @uniqueabx9
      @uniqueabx9 2 หลายเดือนก่อน

      Check out onlinestudy4u yt

  • @TalachutlaSatyavathi
    @TalachutlaSatyavathi 2 หลายเดือนก่อน

    def count(arr,n):
    l=[]
    if len(set(arr))==1 or len(arr)==1:
    return 0
    for i in arr:
    l.append(arr.count(i))
    r=set(l)
    s=list(r)
    for j in s:
    return s[-2]
    n=int(input())
    arr=list(map(int,input().split()))
    print(count(arr,n))
    sir can i do like this for 1st question

  • @manideep4917
    @manideep4917 2 หลายเดือนก่อน

    Bro please help us in doing videos in python3

  • @aniket9754
    @aniket9754 2 หลายเดือนก่อน +1

    Brother i have very honest question please reply , can we use vector, or we cannot use vector

    • @namandubey8348
      @namandubey8348 2 หลายเดือนก่อน +1

      you can definitely use vector
      who said you cannot use

    • @CodeBashers
      @CodeBashers  2 หลายเดือนก่อน +1

      U can use

  • @JayaKrishnaveni
    @JayaKrishnaveni 2 หลายเดือนก่อน

    We are having the DELTAX company on campus drive in our college on August 31st...can you please give me the tips sir!!!!

    • @sandeepsadhu56
      @sandeepsadhu56 2 หลายเดือนก่อน

      I have exact mcqs question pdfs and coding questions also

    • @varshithareddy7118
      @varshithareddy7118 2 หลายเดือนก่อน

      @@sandeepsadhu56 then plz do share

    • @sandeepsadhu56
      @sandeepsadhu56 2 หลายเดือนก่อน

      @@varshithareddy7118 how

    • @sandeepsadhu56
      @sandeepsadhu56 2 หลายเดือนก่อน

      @@varshithareddy7118 link was deleted by TH-cam policies when I was sent..
      How I will sent?

    • @sandeepsadhu56
      @sandeepsadhu56 2 หลายเดือนก่อน

      How?

  • @tanishatalukdar9653
    @tanishatalukdar9653 2 หลายเดือนก่อน

    It says that the array only has consecutive elements in sorted order so can't we just do secondLargest=arr[n-1]-1 . Arr[n-1] is the last element/largest element , so deducting 1 from the largest element will get us the second largest element as the elements are consecutive. I feel too dumb for thinking like this . And before this we'll do if(arr[0]==arr[n-1] return 0 for cases like [5,5,5,5] ,[6]

    • @tanishatalukdar9653
      @tanishatalukdar9653 2 หลายเดือนก่อน

      @@brokegod5871 no , it won't, you're not deducting 1 from the arr index you're deducting from the actual value , so the last index VALUE -1 will give the second largest number which is 2 in this case . Arr[n-1] means 3 and deducting 1 from 3 gives you 2

    • @brokegod5871
      @brokegod5871 2 หลายเดือนก่อน

      My bad, I read it wrong ​@@tanishatalukdar9653

    • @brokegod5871
      @brokegod5871 2 หลายเดือนก่อน

      ​@@tanishatalukdar9653I read it wrong

    • @bossnation8921
      @bossnation8921 2 หลายเดือนก่อน

      Fact check..... repetition is there fyi

  • @jaanvirathore1850
    @jaanvirathore1850 2 หลายเดือนก่อน +1

    Bro the second question is previously asked question same to same

    • @CodeBashers
      @CodeBashers  2 หลายเดือนก่อน +1

      Yesss 👍👍👍

    • @bossnation8921
      @bossnation8921 2 หลายเดือนก่อน

      Did you gave the accenture drive test?

    • @jaanvirathore1850
      @jaanvirathore1850 2 หลายเดือนก่อน +1

      @@bossnation8921 no i am just gonna give it
      But I m solving previous year problems so i recognised that 😀

  • @syedazharmohiuddin3007
    @syedazharmohiuddin3007 2 หลายเดือนก่อน +2

    what if the array is not sorted

    • @CodeBashers
      @CodeBashers  2 หลายเดือนก่อน +1

      Its given always sorted in ques

  • @TalachutlaSatyavathi
    @TalachutlaSatyavathi 2 หลายเดือนก่อน

    s=input()
    s1=input()
    s2=input()
    if s1 in s:
    s=s.replace(s1,s2)
    if s2 in s:
    s=s.replace(s2,s1)
    print(s)
    can u please tell why it is not working..

    • @CHERUKULAHARI
      @CHERUKULAHARI 2 หลายเดือนก่อน

      u should use a place holder

  • @SangepuSneha
    @SangepuSneha 2 หลายเดือนก่อน

    In which college this drive is conducted

  • @jeevankathiresan9233
    @jeevankathiresan9233 2 หลายเดือนก่อน

    Anyone received communication round test link in email or something???

  • @satosugu143
    @satosugu143 2 หลายเดือนก่อน +1

    u are wrong about saying accenture only asks to write function. they ask too write whole code i wrote yesterday

    • @CodeBashers
      @CodeBashers  2 หลายเดือนก่อน +1

      I mentioned this also in video 🙂🙂

    • @kurisettisaisujith7453
      @kurisettisaisujith7453 2 หลายเดือนก่อน

      Which plateform bro coding is in?

    • @satosugu143
      @satosugu143 2 หลายเดือนก่อน +1

      @@CodeBashers in previous videos u said only function

    • @satosugu143
      @satosugu143 2 หลายเดือนก่อน +1

      @@kurisettisaisujith7453 it's their own ide

    • @kurisettisaisujith7453
      @kurisettisaisujith7453 2 หลายเดือนก่อน

      @@satosugu143 I seen that some of previous are in mettle

  • @NoDistractions02
    @NoDistractions02 2 หลายเดือนก่อน

    question 2 ... JAVA code:-
    public static String replaced(String word, char ch1, char ch2){
    StringBuilder sb = new StringBuilder( );
    for(int i =0 ; i < word.length() ; i++){
    char single = word.charAt( i );
    if(single == ch1){
    sb.append(ch2);
    continue;
    }
    if(single == ch2){
    sb.append(ch1);
    continue;
    }
    sb.append(single);
    }
    return sb.toString( );
    }

    • @sravya_smj
      @sravya_smj 2 หลายเดือนก่อน

      genuine doubt...isnt append used for adding to the last end...so how can it replace specified parts that are in the middle or some other place??

    • @NoDistractions02
      @NoDistractions02 2 หลายเดือนก่อน

      @@sravya_smj We are using string builder it is a kind of sting that is mutable...and yes append is used to add from last... so i added elements in string builder sb from the end only.
      After that for return purpose the stringbuilder is converted to string by using toString() function of string builder

  • @jaanvirathore1850
    @jaanvirathore1850 2 หลายเดือนก่อน

    arr = [1,2,3,3,4,4,4,4,5,5,5]
    se = set(arr)
    rearr = list(se)
    selar = rearr[-2]
    print(arr.count(selar))

    • @uniqueabx9
      @uniqueabx9 2 หลายเดือนก่อน +1

      First he converted arr into set so it will contain only distinct items, then he again converted that set to list, so he can access elements using index, then he accesses rearr[n-2] means 2nd largest element as arr is sorted, then he finds the count of 2nd largest element and returns, but this code contain an error that is if input arr contains same element for example : [5, 5,5,] then this code will throw an error as rearr[n-2] will give an index error

    • @jaanvirathore1850
      @jaanvirathore1850 2 หลายเดือนก่อน +1

      @@uniqueabx9 yesss for that condition I didn't write the lines of code 😂 I know that...
      But to solve that error just write
      If len(se)

    • @jaanvirathore1850
      @jaanvirathore1850 2 หลายเดือนก่อน

      @@uniqueabx9 you explained my code very nicely 👍

  • @sachin_singh_tomar_
    @sachin_singh_tomar_ 2 หลายเดือนก่อน

    q.1 code for sorted as well as unsorted array-->
    #include
    using namespace std;
    int main() {
    int n;
    cin >> n;
    int arr[n];
    unordered_map sst;
    for (int i = 0; i < n; i++) {
    cin >> arr[i];
    sst[arr[i]]++;
    }
    int maxi =INT_MIN;
    for (int i = 0; i < n; i++) {
    if(arr[i] > maxi ){
    maxi =arr[i];
    }
    }
    int maxi2 = INT_MIN;
    for(int i=0;imaxi2 ){
    maxi2 =arr[i];
    }
    }
    cout

  • @parthib_deb23
    @parthib_deb23 2 หลายเดือนก่อน

    #include
    #include
    int main()
    {
    int len;
    scanf("%d",&len);
    int arr[len];
    for (int i = 0; i =0)
    {
    if (arr[j]==seclong[0])
    {
    seclong[1]++;
    }
    else
    {
    numtype++;
    if (numtype

  • @kanishkavenkatesan2877
    @kanishkavenkatesan2877 2 หลายเดือนก่อน

    import java.util.*;
    class HelloWorld {
    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String str = sc.nextLine();
    char ch1 = sc.next().charAt(0);
    char ch2 = sc.next().charAt(0);
    String temp = str.replace(ch1,'\0');
    temp = temp.replace(ch2,ch1);
    String fin = temp.replace('\0', ch2);
    System.out.print(fin);
    }
    }
    simple java code - 2