How to Reverse an Array in Java - Animation

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • ►Full DSA Course - • Data Structures and Al...
    ►Follow me on Instagram - bit.ly/intrvwk...
    ►Follow me on LinkedIn - bit.ly/fllwlkdn
    ►Enroll in the complete course: bit.ly/3W4qthg
    ►Source Code - github.com/din...
    ►Download DSA Animation Slides - techready.in/c...
    ►Click here to subscribe - www.youtube.co...
    Watch all my playlist here:
    ►Data Structures and Algorithms Course playlist: • Data Structures and Al...
    ►Mastering JUnit 5 - www.youtube.co...
    ►Mastering Mockito 3 - • Mockito 3 Tutorials
    ►Analysis of Algorithms - • Analysis of Algorithms
    ►Linked List Data Structures - • Linked List Data Struc...
    ►Array Data Structures - • Playlist
    ►Stack Data Structure - • Stack Data Structure
    ►Queue Data Structure - • Queue Data Structure
    ►Binary Tree Data Structure - • Binary Tree Data Struc...
    ►Graph Data Structure - • Graph Data Structure
    ►Binary Heap Data Structure - • Binary Heap Data Struc...
    ►Trie Data Structure - • Trie Data Structure
    ►Dynamic Programming Algorithms - • Dynamic Programming Al...
    ►Hashing Data Structures - • Hashing Data Structures
    ►Sorting and Searching - • Sorting and Searching
    ►String Algorithms - • String Algorithms
    Want to land a software engineering job in the IT industry? This course - 'Visualizing Data Structures and Algorithms' is here to help. The course walks you through multiple Java algorithms, data structures problems, and their solutions with step by step visualizations, so that you are actually learning instead of blindly memorizing solutions.
    The course covers in and outs of Data Structures and Algorithms in Java. Java is used as the programming language in the course. Students familiar with Javascript, Python, C#, C++, C, etc will also get to learn concepts without any difficulty. The implementation of various Algorithms and Data Structures have been demonstrated and implemented through animated slides. It covers many interview room questions on Algorithms and Data Structures. The questions and solutions are demonstrated by -
    1. Animated slide. (To make visualization of algorithms faster)
    2. Coding algorithm on IDE.
    The course covers topics such as -
    0. Algorithm Analysis
    1. Arrays
    2. Matrix
    3. Singly Linked List
    4. Doubly Linked List
    5. Circular Singly Linked List
    6. Stacks
    7. Queues
    8. Binary Tree
    9. Binary Search Tree
    10. Graphs
    11. Priority Queues and Heaps
    12. Recursion
    13. Searching
    14. Sorting
    15. Strings
    16. Trie Data Structure
    17. Dynamic Programming
    and many more ...
    #dsa #algorithms #coding

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

  • @shubhamagarwal1434
    @shubhamagarwal1434 2 года назад +7

    Best series for DS & Algo. I am also 10 yrs java exp guy. Was looking for DS & Algo free course over RUclips with java implementation and found this. Hats Off To You Man....Excellent Work. GOD BLESS YOU :)

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

    When am watching everying single video and While explaining You told the idea behind that particular algo and aftre that i pause the video and try to implement it on my own and match with your code some time it was right some time not and i correct mycode .Great videos😍

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

      Awesome !!! Perfect way to learn is to try first and after that look for code !!! Well done !!! Keep it up !!!

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

    Thank you so much sir .Every videos of concept explaining very easy method .❤

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

    Way of your explanation is very good.❤👌

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

    Your course is best in the youtube as my personal opinion.

  • @Anc.s
    @Anc.s 3 года назад +2

    Thanku🙏 also give all concept which used during program..

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

    Thank u so much for making this tutorial for free

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

    Thank you Sir, nice explanation!

  • @venkatasaivishal6960
    @venkatasaivishal6960 3 месяца назад

    Sir , i have a doubt why is it possible in reverse array function with void and
    without return type and here not?

  • @voiceofyvr4006
    @voiceofyvr4006 2 года назад +2

    If we have odd number of values then how we apply the same algorithm for it.

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

      It will work ... The middle element wont be touched !!!

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

      true@@itsdineshvaryani

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

    thank you so much sir

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

    Nice work

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

    wow please drop more videos ur god

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

    can you tag leetcode question for the problem?

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

    Sir app Data structure with java k hackerrank k problem solving videos bna k upload kriye we need to understand how to solve hackerrank problem plz sir do it.

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

      Ok will do it ... But currently have been away for a while ... Will post once i restart making videos again !!!

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

      Yes sir sure. Will waiting!

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

    thanx sir

  • @ajayrajpoot6315
    @ajayrajpoot6315 5 месяцев назад

    This method is the simple method .
    public class reverse
    {
    public reverse()
    {
    int arr[]=new int[]{1,2,3,4,5};
    int p=arr.length;
    System.out.println("Original");
    for(int i=0;i

  • @ahmedzaki72
    @ahmedzaki72 4 года назад +1

    Thank you so much, my brother

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

    Sir Ye full DSA hai?

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

      It gets updated frequently !!

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

      @@itsdineshvaryani Sir how much time it will take to complete this playlist if i start from today?

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

      @@somyabhardwaj1902 it depends on how fast u watch n grasp ...

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

      @@itsdineshvaryani Ok Sir thank u so much. Actually i have seen many Dsa videos but that doesnt satisfied my understanding but this looks better from others

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

      @@somyabhardwaj1902 thanks so go for it and share with ur friends and colleagues as well ...

  • @MrPsychologie
    @MrPsychologie 4 года назад +2

    You did a great job. May Allah guide us all to the truth.

  • @soft.solutions6980
    @soft.solutions6980 7 месяцев назад

    how about this? I used for loop for this
    int[] reverseArray(int[] arr) {
    int n = arr.length;
    int[] result = new int[n];
    int index = 0;
    for (int i = n -1; i >= 0; i--){
    result[index] = arr[i];
    index++;
    }
    return result;
    }

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

    int[] a= {2,11,5,10,7,8};

    for(int i=0;i

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

    Collections.reverse(list);

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

      Internally reverse method does similar thing only !!!