DinaTechy
DinaTechy
  • 278
  • 50 937
#3 Leet Code Problem✅ - Word Break - Beginner Guide | Tamil | Step by Step | DinaTechy #coding #java
This program checks whether an input string can be fully constructed using words from a predefined dictionary of words.
### Key Points:
1. **Dictionary of Words**:
- A set of predefined words (like "leet", "coded", "problems") is used to form a dictionary. These words are stored in a `HashSet` to ensure quick lookup and eliminate duplicates.
2. **Input String**:
- The input string is `"leetcodeproblems"`. The program checks if this string can be entirely composed of the words in the dictionary.
3. **Regular Expression Creation**:
- A regular expression is dynamically created by joining all the words from the dictionary with a pipe symbol (`|`), which represents an OR condition in regular expressions. This allows checking for any combination of those words in the input string.
- The resulting pattern is enclosed in parentheses and followed by `*`, which means that any of these words can repeat any number of times (including zero).
4. **Pattern Matching**:
- A `Pattern` object is created using the generated regular expression, and a `Matcher` object is used to check whether the input string matches the pattern.
- The `matches()` method is used to determine if the entire input string can be broken down into the words from the dictionary.
5. **Final Output**:
- If the input string fully matches the pattern (i.e., it can be formed entirely using words from the dictionary), the program prints "Matches". Otherwise, it prints "Not Matched".
### Concept:
- The program checks if a given string can be constructed by concatenating words from a set of dictionary words, using regular expressions to perform the matching efficiently.
Telegram - t.me/+lhWGhenJ5tw0NDk1
#codingtamilan #codingintamil #java #javainterviewquestionsandanswers #javainterviewquestionsandanswersforfreshers #javainstitute #javaprogramming #javainterviewquestionsandanswersforexperienced #dynamicprogramming #dynamicprogram #dynamic #1000subscriber #100dayschallenge #100daystransformation #100daysofcode #100days #zohorecruitment #zohospecialist #zoholatestprogramming #zohotutorial #zohojobs #javaleetcode #leetcodejava #leetcodeproblems #leetcodeprograms
มุมมอง: 122

วีดีโอ

#2 Java Leet code Problems✅ - Reverse Polish Notation - Tamil | Step by Step | DinaTechy #coding
มุมมอง 4319 ชั่วโมงที่ผ่านมา
Reverse Polish Notation (RPN) , also known as postfix notation, is a mathematical notation in which operators follow their operands. This eliminates the need for parentheses to dictate the order of operations, as is required in infix notation (the standard notation we're used to, like 3 5 ). Example In infix notation, you would write: - 3 4 In RPN, the same expression is written as: - 3 4 Here,...
#1 Java Leet code Problem✅ - Rotate Array | Tamil | Step by Step | DinaTechy #coding #leetcodejava
มุมมอง 10019 ชั่วโมงที่ผ่านมา
This program rotates the elements of an array by a specified order (number of positions), and then prints the result. Here's a step-by-step explanation with key points: 1. Divide the array two parts: 1,2,3,4 and 5, 6 2. Rotate first part: 4,3,2,1,5,6 3. Rotate second part: 4,3,2,1,6,5 4. Rotate the whole array: 5,6,1,2,3,4 Step-by-Step Explanation: 1. Input Array and Rotation Order : - An array...
Is possible to Sort Integer in Ascending Order? using Java | Tamil | DinaTechy #coding #java
มุมมอง 97วันที่ผ่านมา
Is possible to Sort Integer in Ascending Order? using Java | Tamil | DinaTechy #coding #java
Count Character Occurrence in String | Java | MNC | DinaTechy #java #coding
มุมมอง 12214 วันที่ผ่านมา
Count Character Occurrence in String | Java | MNC | DinaTechy #java #coding
Removing Character in String #string #java #codingtamilan #replace #money #simplecoding #shorts
มุมมอง 6614 วันที่ผ่านมา
Removing Character in String #string #java #codingtamilan #replace #money #simplecoding #shorts
Custom Exception in Java Step by Step | Tamil | Exception | DinaTechy #coding #java
มุมมอง 2114 วันที่ผ่านมา
Custom Exception in Java Step by Step | Tamil | Exception | DinaTechy #coding #java
Do you know Intersection between Array's? in Tamil | Java | MNC | DinaTechy #coding #java
มุมมอง 2614 วันที่ผ่านมา
Do you know Intersection between Array's? in Tamil | Java | MNC | DinaTechy #coding #java
SingleTon Class - Design Pattern in Java Step by Step | Tamil | DSA | DinaTechy #coding #java
มุมมอง 10714 วันที่ผ่านมา
SingleTon Class - Design Pattern in Java Step by Step | Tamil | DSA | DinaTechy #coding #java
Finding the longest Sub-String's length in Tamil | Java | MNC | DinaTechy #coding #java
มุมมอง 3714 วันที่ผ่านมา
Finding the longest Sub-String's length in Tamil | Java | MNC | DinaTechy #coding #java
Junit Testing with Mockito Part 7 - 2 in Tamil | Springboot | Java | DinaTechy
มุมมอง 6421 วันที่ผ่านมา
Junit Testing with Mockito Part 7 - 2 in Tamil | Springboot | Java | DinaTechy
Junit Testing with Mockito Part 7 - 1 in Tamil | Springboot | Java | DinaTechy
มุมมอง 5521 วันที่ผ่านมา
Junit Testing with Mockito Part 7 - 1 in Tamil | Springboot | Java | DinaTechy
Junit Testing with Mockito Part 6 in Tamil | Springboot | Java | DinaTechy
มุมมอง 3021 วันที่ผ่านมา
Junit Testing with Mockito Part 6 in Tamil | Springboot | Java | DinaTechy
Junit Testing with Mockito Part 5 in Tamil | Springboot | Java | DinaTechy
มุมมอง 5521 วันที่ผ่านมา
Junit Testing with Mockito Part 5 in Tamil | Springboot | Java | DinaTechy
StringJoiner : Convert Integer to String - Java 8? | தமிழ் | Interview | DinaTechy #coding #java #DT
มุมมอง 8621 วันที่ผ่านมา
StringJoiner : Convert Integer to String - Java 8? | தமிழ் | Interview | DinaTechy #coding #java #DT
Junit Testing with Mockito Part 4 in Tamil | Springboot | Java | DinaTechy
มุมมอง 10321 วันที่ผ่านมา
Junit Testing with Mockito Part 4 in Tamil | Springboot | Java | DinaTechy
Is Multiple Inheritance - Possible? in Java | தமிழ் | Explained | DinaTechy #coding #java #interview
มุมมอง 52หลายเดือนก่อน
Is Multiple Inheritance - Possible? in Java | தமிழ் | Explained | DinaTechy #coding #java #interview
Data Structure : Finding Middle Node - Singly Linked List | Java | தமிழ் | Explained | DinaTechy
มุมมอง 43หลายเดือนก่อน
Data Structure : Finding Middle Node - Singly Linked List | Java | தமிழ் | Explained | DinaTechy
Data Structure : Creating Singly Linked List in Java | தமிழ் | Explained | DinaTechy #coding #java
มุมมอง 146หลายเดือนก่อน
Data Structure : Creating Singly Linked List in Java | தமிழ் | Explained | DinaTechy #coding #java
Count Words using HashMap OG in Java | தமிழ் | Explained | DinaTechy #coding #java #interview
มุมมอง 56หลายเดือนก่อน
Count Words using HashMap OG in Java | தமிழ் | Explained | DinaTechy #coding #java #interview
J2EE Installation - OG in தமிழ் | Java | Web Project's | Installation | DinaTechy #installation
มุมมอง 31หลายเดือนก่อน
J2EE Installation - OG in தமிழ் | Java | Web Project's | Installation | DinaTechy #installation
First Unique Character in Java | தமிழ் | Dynamic Programming | DinaTechy #coding #java
มุมมอง 65หลายเดือนก่อน
First Unique Character in Java | தமிழ் | Dynamic Programming | DinaTechy #coding #java
Check Two Array's are Same in Java | தமிழ் | Logical Thinking | DinaTechy #coding #java
มุมมอง 56หลายเดือนก่อน
Check Two Array's are Same in Java | தமிழ் | Logical Thinking | DinaTechy #coding #java
How to Reversing an Array in Java | தமிழ் | Dynamic Programming | DinaTechy #coding #java
มุมมอง 77หลายเดือนก่อน
How to Reversing an Array in Java | தமிழ் | Dynamic Programming | DinaTechy #coding #java
Complete Explanation - Finding Second Largest Number in Array - தமிழ் | Java | DinaTechy #java
มุมมอง 99หลายเดือนก่อน
Complete Explanation - Finding Second Largest Number in Array - தமிழ் | Java | DinaTechy #java
Finding Repetitive Character in String? in தமிழ் | Java | Explained | DinaTechy #coding #java
มุมมอง 46หลายเดือนก่อน
Finding Repetitive Character in String? in தமிழ் | Java | Explained | DinaTechy #coding #java
Java Technical Interview : Reverse a Sentence - தமிழ் | Java | BTS | DinaTechy #java #interview
มุมมอง 86หลายเดือนก่อน
Java Technical Interview : Reverse a Sentence - தமிழ் | Java | BTS | DinaTechy #java #interview
Dynamic Programming : Counting Digit's in Number in தமிழ் | Java | Explained | DinaTechny #coding
มุมมอง 64หลายเดือนก่อน
Dynamic Programming : Counting Digit's in Number in தமிழ் | Java | Explained | DinaTechny #coding
Check the Number is Palindrome or Not! in தமிழ் | Java | MNC | DinaTechy #coding
มุมมอง 61หลายเดือนก่อน
Check the Number is Palindrome or Not! in தமிழ் | Java | MNC | DinaTechy #coding
Regex Patter : F&R Consecutive Duplicate words in தமிழ் | Java | Explained | DinaTechy #java #regex
มุมมอง 78หลายเดือนก่อน
Regex Patter : F&R Consecutive Duplicate words in தமிழ் | Java | Explained | DinaTechy #java #regex

ความคิดเห็น

  • @poornimamanogaran
    @poornimamanogaran 2 วันที่ผ่านมา

    Like

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 3 วันที่ผ่านมา

    Like

  • @mjaesthetics9300
    @mjaesthetics9300 5 วันที่ผ่านมา

    10 not equals not 10 so true so like

    • @dinatechy1805
      @dinatechy1805 4 วันที่ผ่านมา

      Sry dude, wrong answer

  • @mjaesthetics9300
    @mjaesthetics9300 7 วันที่ผ่านมา

    Nalla video brother. Happy to see tamil people started solving leet code problems and helping us in our language.

    • @dinatechy1805
      @dinatechy1805 7 วันที่ผ่านมา

      Nandri nanba, keep supporting me ♥️, look more in "100 days coding challenge playlist" bro

  • @valividumurugan5398
    @valividumurugan5398 7 วันที่ผ่านมา

    Print follow

  • @SolutionMaker-id3gk
    @SolutionMaker-id3gk 8 วันที่ผ่านมา

    Superb Explanation bro 💯

  • @inbaradhakrishnan5301
    @inbaradhakrishnan5301 8 วันที่ผ่านมา

    We want more videos how to solve leedcode program

    • @dinatechy1805
      @dinatechy1805 8 วันที่ผ่านมา

      Sure nanba 💯 , Subscribe and check 100 days coding challenge playlist✅

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    C

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    C

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    B

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    C

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    B

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    C

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    B

    • @dinatechy1805
      @dinatechy1805 9 วันที่ผ่านมา

      💯 Subscribe and support for more useful content♥️

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    B

  • @HarshaBhrito-z1s
    @HarshaBhrito-z1s 9 วันที่ผ่านมา

    Condition false

  • @ditya953
    @ditya953 10 วันที่ผ่านมา

    Filter ❤

  • @like_to_do
    @like_to_do 10 วันที่ผ่านมา

    One doubt bro reply panuga

    • @dinatechy1805
      @dinatechy1805 10 วันที่ผ่านมา

      Yenna doubt sollunga

  • @valividumurugan5398
    @valividumurugan5398 10 วันที่ผ่านมา

    B)

  • @murali.t.b.mmurali4435
    @murali.t.b.mmurali4435 11 วันที่ผ่านมา

    C

  • @murali.t.b.mmurali4435
    @murali.t.b.mmurali4435 11 วันที่ผ่านมา

    B

  • @murali.t.b.mmurali4435
    @murali.t.b.mmurali4435 11 วันที่ผ่านมา

    C

  • @valividumurugan5398
    @valividumurugan5398 11 วันที่ผ่านมา

    Ok bro

  • @valividumurugan5398
    @valividumurugan5398 11 วันที่ผ่านมา

    C)

  • @valividumurugan5398
    @valividumurugan5398 11 วันที่ผ่านมา

    Condition false

  • @valividumurugan5398
    @valividumurugan5398 11 วันที่ผ่านมา

    Fliter

  • @valividumurugan5398
    @valividumurugan5398 11 วันที่ผ่านมา

    Switch

  • @valividumurugan5398
    @valividumurugan5398 13 วันที่ผ่านมา

    Purila bro question

    • @dinatechy1805
      @dinatechy1805 13 วันที่ผ่านมา

      It is Html not Java

  • @valividumurugan5398
    @valividumurugan5398 13 วันที่ผ่านมา

    C)

  • @valividumurugan5398
    @valividumurugan5398 13 วันที่ผ่านมา

    ==, <=

  • @valividumurugan5398
    @valividumurugan5398 13 วันที่ผ่านมา

    What is JVM, JIT, JDK EXPLAIN bro

  • @valividumurugan5398
    @valividumurugan5398 13 วันที่ผ่านมา

    Just in time

  • @valividumurugan5398
    @valividumurugan5398 13 วันที่ผ่านมา

    | not arithmetic operator

  • @mohammedshameem508
    @mohammedshameem508 14 วันที่ผ่านมา

    💥👌

  • @valividumurugan5398
    @valividumurugan5398 14 วันที่ผ่านมา

    Java virtual machine

  • @valividumurugan5398
    @valividumurugan5398 14 วันที่ผ่านมา

    Hash map pathi oru video potuga bro 🎉🎉🎉🎉

  • @valividumurugan5398
    @valividumurugan5398 15 วันที่ผ่านมา

    What is steam bro

    • @dinatechy1805
      @dinatechy1805 15 วันที่ผ่านมา

      It is java 8 concept

  • @valividumurugan5398
    @valividumurugan5398 17 วันที่ผ่านมา

    Thread vasu soluga bro🎉🎉🎉

  • @valividumurugan5398
    @valividumurugan5398 17 วันที่ผ่านมา

    Super, this java keyword pathi oru video potuga bro

  • @valividumurugan5398
    @valividumurugan5398 17 วันที่ผ่านมา

    Ethe mari video potuga bro🎉

    • @dinatechy1805
      @dinatechy1805 17 วันที่ผ่านมา

      Sure nanba💯

  • @balajip5308
    @balajip5308 22 วันที่ผ่านมา

    sir, You say serializable is an interface. If there is any method in interface we will implement it only if so what method is there in serializable port why implement it please tell me clearly sir

    • @dinatechy1805
      @dinatechy1805 21 วันที่ผ่านมา

      It's markable interface, this type of interfaces doesn't have any methods.

    • @balajip5308
      @balajip5308 21 วันที่ผ่านมา

      @@dinatechy1805 Okay sir, Thank you for your reply

  • @yuvarajcena27
    @yuvarajcena27 23 วันที่ผ่านมา

    Make more videos we are watching

  • @valividumurugan5398
    @valividumurugan5398 23 วันที่ผ่านมา

    Etha concept nala enna use sir

    • @dinatechy1805
      @dinatechy1805 23 วันที่ผ่านมา

      Orey service thirumba thirumba manual check panna Venda idha run pannivita adhuvey check panni sollodum, whether it's working or not

  • @valividumurugan5398
    @valividumurugan5398 25 วันที่ผ่านมา

    What is junit bro

  • @valividumurugan5398
    @valividumurugan5398 25 วันที่ผ่านมา

    package jj; import java.util.*; public class bh { public static void main(String[] args) { int[] a={1,2,3,4 ,5}; String re=Arrays.toString(a).replace(",","-"); re=re.substring(1,re.length()-1); System.out.println(re); } } Ethu la time and space complexity evalo bro varu

    • @dinatechy1805
      @dinatechy1805 19 วันที่ผ่านมา

      Time Complexity: O(n), Space Complexity: O(n) - StringJoiner is better in terms of both space efficiency and readability.

  • @priyaanbalagan705
    @priyaanbalagan705 25 วันที่ผ่านมา

    can you write testcase to cover the catch block?

    • @dinatechy1805
      @dinatechy1805 25 วันที่ผ่านมา

      Here's the video - th-cam.com/video/Z6MX5nEfVuE/w-d-xo.html . Share your feedback after watching, Subscribe and Support.....

  • @balajip5308
    @balajip5308 25 วันที่ผ่านมา

    Hi sir Good Explanations

    • @dinatechy1805
      @dinatechy1805 25 วันที่ผ่านมา

      Tqs pa❤ Subscribe and Share it to your friends...

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

    Excellent bro🎉🎉🎉

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

    Tq bro🎉🎉😊😊

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

    Println ella ma pota ore line la tha sir varuthu