home.social

#leetcodecontest — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #leetcodecontest, aggregated by home.social.

  1. ☑️ Day 40/100: #Leetcode daily question

    🟨 Question: 2275. Largest Combination With Bitwise AND Greater Than Zero

    This was an easy one for medium and I solved it using index bit count.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #Algorithms #coding #python #bitmanipulation

  2. ☑️ Day 39/100: #Leetcode daily question

    🟨 Question: 3011. Find if Array Can Be Sorted

    This was an easy one for medium and I solved it using bubble sort.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #python #Algorithms #coding #sorting #bitmanipulation

  3. ☑️ Day 33/100: #Leetcode daily question

    🟥 Question: 2463. Minimum Total Distance Traveled

    This is a very good difficult question, and I obviously need to look a solution. Solved it using dp

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #Algorithms #python #dynamicprogramming

  4. ☑️ Day 31/100: #Leetcode daily question

    🟨 Question: 2684. Maximum Number of Moves in a Grid

    Easy dp question but need to see the solution maybe I was too last to solve that day

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #python #Algorithms #dynamicprogramming

  5. ☑️ Day 30/100: #Leetcode daily question

    🟨 Question: 2501. Longest Square Streak in an Array

    Easy question

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718

    #Algorithms #python #coding #binarysearch

  6. ☑️ Day 29/100: #Leetcode daily question

    🟨 Question: 1277. Count Square Submatrices with All Ones

    Medium question and I need to check the solution but good learning

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718

    #Algorithms #python #coding #dynamicprogramming

  7. ☑️ Day 28/100: #Leetcode daily question

    🟥 Question: 2458. Height of Binary Tree After Subtree Removal Queries

    Hard tree question but learnt a lot

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718

    #Algorithms #python #coding #bst

  8. ☑️ Day 27/100: #Leetcode daily question

    🟨 Question: 1233. Remove Sub-Folders from the Filesystem

    Easy question

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718

    #Algorithms #python #coding #trie

  9. ☑️ Day 26/100: #Leetcode daily question

    🟨 Question: 951. Flip Equivalent Binary Trees

    Good binary tree question and I did see the approach but got good understanding of tree questions

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 My Leetcode Github: github.com/akshatsingh1718

    🔗 Solution Link: github.com/akshatsingh1718/lee

    #coding #Algorithms #python #binarytree #bst

  10. ☑️ Day 25/100: #Leetcode daily question

    🟨 Question: 2641. Cousins in Binary Tree II

    Easy binary tree question but I saw the solution, could be done without seeing it.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #bst #binarytree

  11. ☑️ Day 24/100: #Leetcode daily question

    🟨 Question: 2583. Kth Largest Sum in a Binary Tree

    Easy binary tree question

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #bst #binarytree

  12. ☑️ Day 23/100: #Leetcode daily question

    🟨 Question: 1593. Split a String Into the Max Number of Unique Substrings

    This question was marked as medium and it was really a good one and I need to look for a solution.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #substring

  13. ☑️ Day 22/100: #Leetcode daily question

    🟥 Question: 1106. Parsing A Boolean Expression

    This question marked as hard but after looking at the solution it looks very easy and I did find out that it needs to be solved using stack.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms #stack

  14. ☑️ Day 21/100: #Leetcode daily question

    🟨 Question: 1545. Find Kth Bit in Nth Binary String

    This question was a tricky one and I need to look for a solution and it shows me how people think of a solution In a recursive way.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #pyton #leetcode #Algorithms

  15. ☑️ Day 20/100: #Leetcode daily question

    🟨 Question: 2044. Count Number of Maximum Bitwise-OR Subsets

    Today's question was an easy one and can be done simply finding out all the subsets and store their sum as dict key and increment +1 to the value.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #python #coding #Algorithms #subset #leetcode

  16. ☑️ Day 19/100: #Leetcode daily question

    🟨 Question: 670. Maximum Swap

    The question was good and I was able to do it but went for the solutions tab because I was not feeling like solving anymore. The solution was using a greedy approach.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #codeing #Algorithms #python #greedy

  17. ☑️ Day 8/100: #Leetcode daily question

    🟨 Question: 179. Largest Number

    Today's question was good and can be answered using a custom sorting function. I did this with 3 approaches:
    1. Built-in sort (provided custom key fn).
    2. #quicksort
    3. #MergeSort

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee

    #coding #python #sorting