officialRanjanaDevi / Java_With_DSA-

๐Ÿš€ Join the 100 Day DSA Challenge! ๐Ÿš€ ๐Ÿ’ก Level up your DSA skills in 100 days! ๐Ÿง ๐Ÿ“… Daily practice & diverse problems.๐ŸŒž๐Ÿ•ฐ๏ธ Join a supportive community. ๐Ÿ‘ฅ๐Ÿ“๐ŸŒ๐ŸŒŸ Master DSA concepts & problem-solving. ๐Ÿš€๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ“š Ready to code your way to success? Join now! ๐ŸŽ‰๐Ÿš€๐ŸŽ‰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java_With_DSA ๐Ÿš€

Welcome to the Java_With_DSA GitHub repository! This is where I embark on a ๐ŸŒŸ 100-day DSA (Data Structures and Algorithms) challenge ๐ŸŒŸ with Java, pushing new questions and answers daily. Dive in with me as we explore various DSA problems, enhancing our Java skills and preparing for interviews along the way!

๐Ÿ“† 100-Day DSA Challenge

Below is the journey we'll take, one day at a time, through the fascinating world of data structures and algorithms.

Week 1: Getting Started

  • Day 1: ๐Ÿญ Rat in a Maze
  • Day 2: ๐Ÿ“ฑ KeyPad Combination
  • Day 3: โ™ž Knight's Tour
  • Day 4: ๐Ÿ’ง Container with Max Water
  • Day 5: ๐Ÿšถโ€โ™‚๏ธ Lonely Number in a List

Week 2: Challenges Continue

  • Day 6: ๐Ÿ”บ Polygon with Largest Perimeter
  • Day 7: ๐Ÿ”ข Least Number of Unique Integers
  • Day 8: ๐Ÿ”„ Rotate Array
  • Day 9: ๐Ÿ“ˆ Buy and Sell Stocks
  • Day 10: ๐ŸŽฎ Game with String

Week 3: Easy and Medium Level questions

  • Day 11: ๐Ÿ’ฐ Max Sum of Subarray (Kadane's Algorithm)
  • Day 12: ๐Ÿ”— Bitwise AND (&) Operation in a Given Range
  • Day 13: ๐Ÿ” Search In Sorted Rotated Array
  • Day 14: ๐ŸŒŽ Group Anagrams
  • Day 15: ๐Ÿ“š Valid Parenthesis

Week 4: Difficulty level-Medium Questions

  • Day 16: ๐Ÿ”— Longest Common Prefix
  • Day 17: ๐Ÿ“ String Subsequences
  • Day 18: ๐Ÿ”– Subsequences with sum K
  • Day 19: ๐Ÿ”€ Merge Sort
  • Day 20: ๐Ÿงต Convert Array into Linked List

Week 5: Difficulty level-Medium Questions

  • Day 21: ๐Ÿ”๏ธ Peak Element
  • Day 22: ๐Ÿ“ซ First element to occur at K times
  • Day 23: ๐Ÿ“Œ Remove nth Node from Last
  • Day 24: ๐Ÿ“ฅ Insert at Head and Last postion in Linked list
  • Day 25: ๐Ÿ“ฅ Insert at given index and after a given val in Linked list

Week 6: Difficulty level-Medium Questions

  • Day 26: ๐Ÿ’ฅ Deletion in Linked List(from scratch)
  • Day 27: ๐ŸŽฏ Find Mid of Linked List
  • Day 28: ๐Ÿ“š Implement Queue using stacks
  • Day 29: ๐Ÿ”— Convert Array into Doubly Linked List
  • Day 30: ๐Ÿ”ข Remove duplicate characters from string

Week 7: Difficulty level-Medium Questions

  • Day 31: ๐Ÿ”ข Custom Sort String
  • Day 32: ๐Ÿ’ฅ Print Pattern
  • Day 33: ๐Ÿ“ First Unique Character in String
  • Day 34: ๐ŸŒณ Build Binary Tree
  • Day 35: ๐Ÿšฒ Inorder Traversal in Binary Tree

Week 8: Tree Questions

  • Day 36: ๐Ÿšฒ Postorder Traversal in Binary Tree
  • Day 37: ๐Ÿšฒ Preorder Traversal in Binary Tree
  • Day 38: ๐ŸŒณ Height of Binary tree
  • Day 39: ๐Ÿ”ข Count Nodes of Binary tree
  • Day 40: ๐Ÿ“Œ Sum of Nodes of Binary tree

Week 9: LinkedList Questions

  • Day 41: ๐Ÿ“Œ Reverse a Linked List
  • Day 42: ๐Ÿ”— Check Palindrome in a LinkedList
  • Day 43: ๐Ÿ”– Reorder Linked List
  • Day 44: ๐Ÿ” Find the Duplicate number
  • Day 45: ๐ŸŽฏ Find all Duplicates in an Array

Week 10: Sliding Window Questions

  • Day 46: ๐Ÿ”ข Find Smallest Positive
  • Day 47: ๐Ÿ“š Subarray Product less than K
  • Day 48: ๐Ÿ“ Length of longest subarray with atmost k frequency
  • Day 49: ๐Ÿ”„ Count subarrays where max element appears atlest K times
  • Day 50: ๐Ÿ”ฝ Minimum element in BST

Week 11: Leetcode Problem Of The Day.........

  • Day 51: ๐ŸŒณ Closest Neighbour in BST
  • Day 52: ๐Ÿ“ Length of the Last word
  • Day 53: ๐Ÿ“ Isomorphic strings
  • Day 54: ๐Ÿ” Word Search
  • Day 55: ๐Ÿ“Œ Maximum Nesting Depth of the Parentheses

Week 12: Leetcode Problem Of The Day.........

  • Day 56: ๐Ÿ’ฅ Make the String Great
  • Day 57: ๐Ÿ“ Minimum Remove to Make Valid Parentheses
  • Day 58: ๐ŸŽ’ Valid Parenthesis String
  • Day 59: ๐Ÿ‘ฉโ€๐ŸŽ“ Number of Students Unable to Eat Lunch
  • Day 60: ๐Ÿฟ Time to buy tickets

Week 13: Leetcode Problem Of The Day.........

  • Day 61: ๐Ÿƒ Reveal Cards In Increasing Order
  • Day 62: ๐Ÿ“Œ Find Pivot Index
  • Day 63: ๐Ÿ’ง Trapping Rain Water ...and many more to come!
  • Day 64: ๐Ÿ“ Product of Array Except Self
  • Day 65: ๐ŸŒณ Sum of Left Leaves

Week 14: Leetcode Problem Of The Day.........

  • Day 66: ๐ŸŒณ Sum Root to Leaf Numbers
  • Day 67: ๐ŸŒณ Add One Row to Tree
  • Day 68: ๐ŸŒณ Smallest string Starting From Leaf
  • Day 69: ๐Ÿ๏ธ Island Perimeter
  • Day 70: ๐Ÿ๏ธ Number of Islands

Week 15: Leetcode Problem Of The Day.........

  • Day 71: ๐Ÿ“ Find Union of two sorted arrays
  • Day 72: ๐Ÿ’ฅ Symmetric trees
  • Day 73: ๐Ÿ”„ Minimum Depth of Binary Tree
  • Day 74: ๐Ÿ”ข Create Graph
  • Day 75: ๐Ÿ“Œ nth Tribonacci number

Week 16: Leetcode Problem Of The Day.........

  • Day 76: ๐ŸŽฏ BFS(Breath First Search)
  • Day 77: ๐ŸŽฏ DFS(Depth First Search)
  • Day 78: ๐Ÿ”„ Has Path?
  • Day 79: ๐ŸŽ’ Maximum Prime Difference
  • Day 80: ๐Ÿ“ Reverse Vowels of String

Week 17: Leetcode Problem Of The Day.........

  • Day 81: ๐Ÿ“ Climbing stairs
  • Day 82: ๐Ÿ’ฅ Reverse prefix of word
  • Day 83: ๐Ÿ”„ Largest positive integer that exists with its Negative
  • Day 84: ๐Ÿ”ข Compare version number
  • Day 85: ๐Ÿ“Œ Boats to save people

Week 18: Leetcode Problem Of The Day........

  • Day 86: ๐ŸŽฏ Determine if two strings are close
  • Day 87: ๐ŸŽฏ Maximum average subarray
  • Day 88: ๐Ÿ”„ Double a number represented as a linked list
  • Day 89: ๐ŸŽ’ Relative ranks
  • Day 90: ๐Ÿ“ Maximize Happiness of Selected Children

Week 19: Leetcode Problem Of The Day.........

  • Day 91: ๐Ÿ’ฅ K th smallest prime fraction
  • Day 92: ๐Ÿ“ Minimum cost to hire k workers
  • Day 93: ๐ŸŽ’ Largest local values in a matrix
  • Day 94: ๐Ÿ‘ฉโ€๐ŸŽ“ Add two numbers
  • Day 95: ๐Ÿฟ Path with maximum gold

Week 20: Leetcode Problem Of The Day.9......

  • Day 96: ๐Ÿƒ Wildcard matching
  • Day 97: ๐Ÿ“Œ Evaluate boolean binary tree
  • Day 98: ๐Ÿ’ง Delete leaves with a given value
  • Day 99: ๐Ÿ“ Distribute coins in binary tree
  • Day 100: ๐ŸŒณ Jump game

๐Ÿ“š How to Use This Repository

Each day, a new folder will be added to this repository containing:

  • A README.md file explaining the day's problem statement, including examples and constraints.
  • A Solution.java file with the solution code.
  • An Input.txt file with sample inputs.
  • An Output.txt file with expected outputs.

Feel free to clone this repository, explore the solutions, and even contribute by suggesting alternative solutions or improvements!

git clone https://github.com/officialRanjanaDevi/Java_With_DSA-.git

๐Ÿ’ก Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

Distributed under the MIT License. See LICENSE for more information.

๐Ÿค Connect with Me

Let's dive deep into the world of Java and DSA, one day at a time! Happy coding! ๐Ÿ’ป

About

๐Ÿš€ Join the 100 Day DSA Challenge! ๐Ÿš€ ๐Ÿ’ก Level up your DSA skills in 100 days! ๐Ÿง ๐Ÿ“… Daily practice & diverse problems.๐ŸŒž๐Ÿ•ฐ๏ธ Join a supportive community. ๐Ÿ‘ฅ๐Ÿ“๐ŸŒ๐ŸŒŸ Master DSA concepts & problem-solving. ๐Ÿš€๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ“š Ready to code your way to success? Join now! ๐ŸŽ‰๐Ÿš€๐ŸŽ‰


Languages

Language:Java 100.0%