Leetcode problem | Part 21 | DSA in Java | Engineering Animuthyam

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

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

  • @EDITISM2004
    @EDITISM2004 Месяц назад +6

    Nuv thop macha nijanga love u ❤. Intha valuble content maku free ga isthunandhuku

  • @karthiksaragadam
    @karthiksaragadam 2 месяца назад +8

    bro such a great content plz don't stop we always support u ❤❤❤

  • @balajimamidisetti-c1x
    @balajimamidisetti-c1x Месяц назад +1

    Macha 0Ms lo slove ayyindhi macha break statement use cheydam tho,it beats 100% macha

  • @HemaNaganjaliRavuri
    @HemaNaganjaliRavuri 25 дней назад +1

    class HelloWorld {
    public static void main(String[] args) {
    int nums[][]={{1,3,6},{2,4,8},{5,6,7}};
    for(int i=0;i

  • @VishnuReddy-nl3oj
    @VishnuReddy-nl3oj 2 месяца назад +2

    class love {
    public static void main(String[] args) {
    int matrix[][]={{1,2,3,4},{5,1,2,3},{9,5,1,2}};
    boolean N=true;
    int r=matrix.length;
    int c=matrix[0].length;
    for(int i=0; i

  • @dileepkumarg1016
    @dileepkumarg1016 Месяц назад +1

    super bro
    I understanding the topics.

  • @spreadpostivity-ot3ng
    @spreadpostivity-ot3ng 26 дней назад +1

    Int arr[]=(consider a 2 row 2 col matrix)
    For(int i =0;i

  • @ashwinivolladapu3964
    @ashwinivolladapu3964 26 дней назад +1

    class HelloWorld {
    public static void main(String[] args) {
    int arr[ ][ ]={{1,2,3},{4,5,6},{7,8,9}};
    int r=arr.length;
    int c=arr[0].length;
    int i=0;
    int j=c-i-1;
    while(i

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

    class Solution {
    public boolean isToeplitzMatrix(int[][] matrix) {
    boolean b=true;
    int r=matrix.length;
    int c=matrix[0].length;
    for(int i=0;i

  • @cricket_offical25
    @cricket_offical25 Месяц назад

    class HelloWorld {
    public static void main(String[] args) {
    int [][]arr={{1,2,3,4},{5,6,7,8},{9,10,11,12}};
    int r=arr.length;
    int c=arr[0].length;
    int i=0;
    int j=1;
    while(i

  • @sahithnani5457
    @sahithnani5457 Месяц назад +2

    Na Sugession : rayatam vere dhagara kakkunda code pakkana rasthee kastha clear ga ardham ithadhi macha

  • @theoverthinker8320
    @theoverthinker8320 2 месяца назад +3

    Macha..playlist motham enni months lo complete cheyagalavo chepthe dani batti nen preparation strategy plan cheskuntaa!! anyways chala ba cheptunavv💗

  • @sudheervelishala821
    @sudheervelishala821 28 дней назад

    #DiagonalSum
    class HelloWorld {
    public static void main(String[] args) {
    int [][] mat= {{1,4,3},{9,4,6},{5,8,1}};
    int r = mat.length;
    int c = mat[0].length;
    int sum = 0;
    for(int i = 0; i < r; i++){
    System.out.println(mat[i][i]);
    sum+=mat[i][i];
    }
    System.out.println("Diagonal sum= "+sum);
    }
    }

  • @SASIDHARVENKATESH
    @SASIDHARVENKATESH 2 месяца назад +1

    Your are really vere level broo❤❤❤

  • @Kraken.vlogger
    @Kraken.vlogger 9 дней назад

    love u macha inthakante em cheppalenu

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

    public class Diagonal2DArray {
    public static void main(String[] args) {
    int arr[][] = {{1,4,3,2},{9,4,6,1},{5,8,1,8}};
    System.out.println("Left Diagonal elements in an array are: ");

    for(int i=0;i

  • @Chintapakdamdam-e3d
    @Chintapakdamdam-e3d 2 месяца назад +1

    class Solution {
    public boolean isValid(int[][] matrix, int a, int b){
    int r=matrix.length;
    int c=matrix[0].length;
    int temp=matrix[a][b];
    boolean ans=true;
    a++;
    b++;
    while(a

  • @DurgaMN-f9k
    @DurgaMN-f9k 26 дней назад +1

    enduku bhayya antha pedda code deniki
    "class Solution {
    public boolean isToeplitzMatrix(int[][] matrix) {

    int r = matrix.length;
    int c = matrix[0].length;
    for(int i=1;i

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

    bro dsa sheets lo problems link pettu bro ...lots of love

  • @sathwikhapasupula
    @sathwikhapasupula Месяц назад +1

    import java.util.*;
    class HelloWorld {
    public static void main(String[] args) {
    int [][] mat={{1,2,3,11},{4,5,6,12},{7,8,9,13}};
    int r = mat.length;
    int c = mat[0].length;
    int i = 0;
    int j = i+1;
    while(i

  • @CODEMASTERY36
    @CODEMASTERY36 Месяц назад

    class HelloWorld {
    public static void main(String[] args) {
    int [][]arr={{1,1,4,8},{1,2,5,0},{1,3,6,6}};
    int r=arr.length;
    int c=arr[0].length;
    /* for(int i=0;i

  • @KarthikNaga-b2i
    @KarthikNaga-b2i 2 месяца назад

    diagonal next elements
    class HelloWorld {
    public static void main(String[] args) {
    int [ ][ ]mat={{1,2,3,11},{4,5,6,12},{7,8,9,13}};
    int r=mat.length;
    int c=mat[0].length;
    int i=0;
    int j=i+1;
    while(i

  • @Chintapakdamdam-e3d
    @Chintapakdamdam-e3d 2 месяца назад

    import java.util.*;
    class HelloWorld {
    public static void main(String[] args) {
    int[][] arr={{1,2,3,10},{4,5,6,11},{7,8,9,12},{13,14,15,16}};
    int c=arr[0].length;
    int i=0,j=c-1;
    while(i

  • @venkatasaiprasadvemua389
    @venkatasaiprasadvemua389 Месяц назад +1

    🤩🤩

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

    class HelloWorld {
    public static void main(String[] args) {
    int mat[][]={{1,2,3,11},{4,5,6,12},{7,8,9,13}};
    int r=mat.length;
    int j=mat[0].length-1;
    for(int i=0;i

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

    class HelloWorld {
    public static void main(String[] args) {
    int[][] arr = {{1,4,2,3},{5,1,7,11},{9,10,1,23}};
    int r = arr.length;
    int c = arr[0].length;
    int i = 0, j = 0;
    boolean present = false;
    while(i < r && j < c){
    if(arr[i][j] == 1){
    present = true;
    }
    i++;
    j++;
    }
    if(present == true){
    System.out.println("True");
    }else{
    System.out.println("False");
    }

    }
    }

  • @NerusuAshish
    @NerusuAshish Месяц назад

    int[][] arr = {{1,2,3,98} , {4,5,6,78} , {7,8,9,89}};
    int r = arr.length;
    int c = arr[0].length;
    int i=0;
    int j=1;
    while(i

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

    // Online Java Compiler
    // Use this editor to write, compile and run your Java code online
    class HelloWorld {
    public static void main(String[] args) {
    int[][] arr = {{1,2,3,4},{5,6,7,8},{9,10,11,12}};
    int row = arr.length;
    int col = arr[0].length;
    int i = 0;
    int j = 2;
    while(i

  • @WORK-HARD-jm4cg
    @WORK-HARD-jm4cg 2 месяца назад +1

    Anna enka raledhu enti eroju premiere?

  • @Chintapakdamdam-e3d
    @Chintapakdamdam-e3d 2 месяца назад

    import java.util.*;
    class HelloWorld {
    public static void main(String[] args) {
    int[][] arr={{1,2,3,10},{4,5,6,11},{7,8,9,12}};
    int r=arr.length;
    int c=arr[0].length;
    for(int i=0;i0;j--){
    System.out.println(arr[i][j]);
    break;
    }
    }
    }
    }
    Reverse diaognal printing

  • @-ANGE-nf6sw1
    @-ANGE-nf6sw1 2 месяца назад +1

    Anna apodhu anna please 🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺

  • @HG-lu2mh
    @HG-lu2mh 2 месяца назад +1

    Anna plz reply ee java dsa course eppati varaki complete chesthara because we are final yrs and idi chala crucial time, intlo and clg lo full dobbesthunnaru😢, meeru oka maata chepthe maaku clarity osthadhi

    • @engineeringanimuthyam
      @engineeringanimuthyam  2 месяца назад +3

      December ending lo aythadhi bro mostly

    • @HG-lu2mh
      @HG-lu2mh 2 месяца назад +3

      @@engineeringanimuthyam ok anna but plz pakka complete cheyyandi vere valla laaga madhyalo vadilesi malli oka year ayyaka continue cheyyadam vaddu plzzz

    • @Naveen_Reddy17
      @Naveen_Reddy17 Месяц назад

      @@engineeringanimuthyam thanks anna for your efforts

  • @Mukesh_vlogs851
    @Mukesh_vlogs851 29 дней назад

    int x=0;
    int y=1;
    while(x

  • @Andhra_Animations
    @Andhra_Animations 2 месяца назад +1

    This can also solve int his way .But I think you are motivating to do by using methods.Am i correct :)
    Leet Code last Answer:
    class Solution {
    public boolean isToeplitzMatrix(int[][] matrix) {
    boolean ans=true;
    int r=matrix.length;
    int c=matrix[0].length;
    for(int i=1;i

  • @WORK-HARD-jm4cg
    @WORK-HARD-jm4cg 2 месяца назад +2

    Who are still waiting?

    • @engineeringanimuthyam
      @engineeringanimuthyam  2 месяца назад +3

      Sorry no videos today was busy with office work. 6pm ki premier lekapothe inka wait cheyaku macha. Thanks for support

    • @-ANGE-nf6sw1
      @-ANGE-nf6sw1 2 месяца назад +1

      Python apey macha . Ledha Java apey macha . Oka language daily two videos chesi pettuko . Daily oka video upload. Okevela office lo busy ayithe extra video upload chesukovachu . Daily oka video vasthe ni nundi memu consistent ga follow avutham macha . Please 🥺. Anthey gani madhyalo break ayithe vadhu macha

    • @WORK-HARD-jm4cg
      @WORK-HARD-jm4cg 2 месяца назад +2

      @@engineeringanimuthyam okay anna parvale . We support you 💯. Makosam free ga chesthunnav. Take your time . December ki maku dp varuku complete chesthe nuvve maku devudu 🙏.

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

    Your leetcode profile?

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

      @@anithkumarvadlamudi vignesh Reddy Julakanti. Guardian Top 0.8%

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

      @@engineeringanimuthyam I know bro 🙂

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

      @@anithkumarvadlamudi 🤧 telidhu emo ani asking ankunna bro. Asal vidiki ocha nak chepthundu coding ani adginav ani 🤧. All the best macha

    • @engineeringanimuthyam
      @engineeringanimuthyam  2 месяца назад +1

      Leetcode username macha vigneshreddyjulakanti

    • @anithkumarvadlamudi
      @anithkumarvadlamudi 2 месяца назад +1

      @@engineeringanimuthyam bro I am doing striver sheet and day wishes problems in leetcode and other platforms but coming to contest I can solve 1 and at max 2 can you give me tips 🙂🙂

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

    class HelloWorld {
    public static void main(String[] args) {
    int[][] arr = {{1,2,3,4},{5,6,7,8},{9,10,11,12}};
    int row = arr.length;
    int col = arr[0].length;
    int i = 0;
    int j = 1;
    while(i

  • @kran399
    @kran399 14 дней назад

    class HelloWorld {
    public static void main(String[] args) {
    int arr[][] = {{0,1,2},{3,4,5},{6,7,8}};
    int r = arr.length;
    int c = arr[0].length;
    int i=0; int j=0;
    while(i