Sort String Characters In Alphabetical Order | Java | AshokIT

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025
  • #SortString #ashokit
    ✍️✍️ Register Here For Online Training : bit.ly/4dBYJbX
    ** For Online Training ► Call: +91-6301921083
    Subscribe to our channel and hit the bell 🔔🔔🔔 icon to get video updates.
    💡 Visit Our Website
    For Online Training: www.ashokit.in
    💡 About Ashok IT :
    Ashok IT is the No.1 quality training institute in India for the candidates who want to build their future in Information Technology. We are into online training, class room training, corporate training and one to one training with more passion and dedication. Ashok IT aims in providing best quality realtime oriented trainings on C, C++, Java, Spring , Spring REST, Spring Cloud, Microservices, Python, DJango, .Net, Angular, React JS, Salesforce, , Testing, Android, Docker, Kubernates, Manual Testing, Selenium and Digital Marketing.
    -----------------------------------------------------------------------------------
    💡 Our Online Training Features
    🎈 Training with Real-time Working Professionals
    🎈 Industry Matching use cases
    🎈 Live Coding
    🎈 Real-time Environment
    🎈 Class Notes
    🎈 Doubts Clarifications in Each Session
    -----------------------------------------------------------------------------------
    💡 Contact details:
    ☎ WhatsApp Number: +91-6301921083
    ► Website : www.ashokit.in
    ► Join with us in Telegram : bit.ly/3iP2KyA
    ► Like us in Facebook : bit.ly/3dw6R0A
    ► Follow us in Instagram : bit.ly/3jzEKl8
    ► Follow us in Twitter : bit.ly/2SDqdK4

Комментарии • 35

  • @ashokit
    @ashokit  Год назад +1

    🔥 Welcome to Ashok IT..!!
    👉 Register Here For Online Training : bit.ly/4dBYJbX
    👉 Follow us in Instagram : bit.ly/3jzEKl8
    👉 Follow Us in WhatsApp : bit.ly/49wCWje
    👉 Visit Our Website : ashokit.in/

  • @mohamedmoosa9557
    @mohamedmoosa9557 9 дней назад +1

    Very useful it was baffling

  • @Nikk_hil
    @Nikk_hil 2 года назад +11

    Also as a modification convert all string characters to lowercase or uppercase otherwise won't work if there are irregular case characters

    • @parag4004
      @parag4004 7 месяцев назад

      char[] arr = str.toLowerCase().toCharArray(); Now with this it will work

  • @sathishruthiran1150
    @sathishruthiran1150 Год назад +1

    Thank You so much it's very nice video... please more program related videos

  • @ramdayalverma7678
    @ramdayalverma7678 4 года назад +5

    Good explanation 💯👍

  • @prachi_s_h
    @prachi_s_h 3 года назад +1

    Thank you! This playlist helps a lot.

  • @prachi_s_h
    @prachi_s_h 3 года назад +4

    Need this types of more videos on string.

  • @ankurkumargarg3827
    @ankurkumargarg3827 3 года назад +3

    Hi Ashok sir
    Many thanks for providing such knowledge
    I request you to share the solution having less complexity
    So can use the methods for preparing for coding exams.

  • @durgaprasadmarrey577
    @durgaprasadmarrey577 3 года назад

    Tq for this beautiful explanation

  • @harshitsatya5291
    @harshitsatya5291 3 года назад

    Clear explanation

  • @YashSingh-xs5yj
    @YashSingh-xs5yj 5 месяцев назад +1

    Sir, it was a great tutorial can you please help, one interview coding question which was based on String I was not able to solve that properly
    Input: abbcccdddd
    Output: ab2c3d4
    If the repetition of a char in a string is more than one, then it should be replaced by a number denoting the occurrence of that char in String

    • @umadevialamkonda8860
      @umadevialamkonda8860 4 месяца назад +1

      hello i have done this questionn , if u still didn't got solution reply back. i will share the solution

    • @YashSingh-xs5yj
      @YashSingh-xs5yj 4 месяца назад

      @@umadevialamkonda8860 please share the solution I'm not able to find it anywhere

    • @ashokit
      @ashokit  4 месяца назад

      🔥 Please follow us in WhatsApp channel : bit.ly/49wCWje

  • @mauryar16
    @mauryar16 3 года назад

    Thank you

  • @mudumbamanoj166
    @mudumbamanoj166 3 года назад +2

    please check the logic one its not working we are getting array out of bounds exception please update with the corrected programme

  • @mageshkannan7416
    @mageshkannan7416 2 года назад

    How to string alphabetically descending using built-in function

  • @rishavsrivastav8344
    @rishavsrivastav8344 2 года назад

    Is this possible in O(n)…?

  • @Disha_Runwal
    @Disha_Runwal 9 месяцев назад

    How much time is required for cloud computing to learn

    • @ashokit
      @ashokit  6 месяцев назад

      please contact our admin team : +91 9985396677

  • @Arifkalawant948
    @Arifkalawant948 2 года назад

    Sir how to sort if (string= cnba.Ac?/Hj ) such string is given can you please reply with a logic. It was asked in interview

    • @prasanthbala3850
      @prasanthbala3850 Год назад +1

      String sortpre = "cnba.Ac?/Hj";
      char[] arrsort = sortpre.toCharArray();
      Arrays.sort(arrsort);
      System.out.println(arrsort);

  • @anandraj3571
    @anandraj3571 Год назад

    2nd aproch is not working...

  • @parag4004
    @parag4004 7 месяцев назад

    If there is one capital character in string then this program wont work. Also how can we remove duplicate from this string

    • @ashokit
      @ashokit  6 месяцев назад

      please contact our admin team : +91 9985396677

  • @lakshmanank56
    @lakshmanank56 3 года назад

    But where will be the sorted array stored in

  • @renukajayan6636
    @renukajayan6636 3 года назад

    Sir , I have one doubt , this problem just consists of a single word , what if different words are asked to arrange as in that of dictionary

    • @raveyus6847
      @raveyus6847 3 года назад +2

      use StringTokenizer then use this method to sort the words individually.

  • @lfg-shreyas
    @lfg-shreyas 3 года назад +3

    bro its not working man !!

  • @pramodtule5515
    @pramodtule5515 2 года назад +1

    Not working

    • @ashokit
      @ashokit  Год назад

      Please Contact Our Admin Team:wa.me/+919985396677
      👉 Subscribe To Our RUclips Channel: bit.ly/41IHJdj

  • @ajayghode3602
    @ajayghode3602 2 месяца назад

    Thank you

    • @ashokit
      @ashokit  2 месяца назад

      Thankyou so much..