Ojaswi2000 / Leetcode-Challenges

This repository contains my submissions for online monthly long challenges on Leetcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leetcode-Challenges

This repository contains my submissions for online monthly long challenges on Leetcode Coding is extremely important, particularly for a CS student.Owing to this fact, I decided to open a new repository containing the solutions for all the monthly long challlenges practised on Leetcode as well as the questions regularly practised on Leetcode.
I have decided to start this journey of updating this repository mid-October and I plan on being as frequent and relevant with my code submissions. The link for the October Leetcoding challenge :
https://leetcode.com/explore/featured/card/october-leetcoding-challenge/


leet

Buddy Strings (October Leetcoding Challenge)

The link for this problem is :
https://leetcode.com/problems/buddy-strings/

Largest Sustring between Two Equal Characters (Contest Problem)

The link for this problem is :
https://leetcode.com/problems/largest-substring-between-two-equal-characters/

Longest Substring Without Repeating Characters

The link of the problem is :
https://leetcode.com/problems/longest-substring-without-repeating-characters/

Generate a String With Characters That Have Odd Counts

The link of the problem is :
https://leetcode.com/problems/generate-a-string-with-characters-that-have-odd-counts/

Check If a Word Occurs As a Prefix of Any Word in a Sentence

The link of the problem is :
https://leetcode.com/problems/check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/

First Unique Character in a String

The link of the problem is :
https://leetcode.com/problems/first-unique-character-in-a-string/

Consecutive Characters (November Leetcode Challenge)

The link of the problem is :
https://leetcode.com/explore/challenge/card/november-leetcoding-challenge/564/week-1-november-1st-november-7th/3518/

Move Zeroes(Top 100 Liked Questions)

The link of the problem is :
https://leetcode.com/problems/move-zeroes/

Find the Difference (From Bit Manipulation)

The link of the problem is :
https://leetcode.com/problems/find-the-difference/

Delete Operation for Two Strings (String problem-Dynamic Programming)

The link of the problem is :
https://leetcode.com/problems/delete-operation-for-two-strings/

Minimum Number of Steps to Make 2 Strings Anagram

The link of the problem is :
https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram/

Chef and Strings(July Long Challenge-Division 2)

The link of the problem is :
https://www.codechef.com/JULY20B/problems/CHEFSTR1

Chef and Card Game(July Long Challenge-Division 2)

The link of the problem is :
https://www.codechef.com/JULY20B/problems/CRDGAME

Ada King(July Long Challenge-Division 2)

The link of the problem is :
https://www.codechef.com/JULY20B/problems/ADAKING

Missing a Point(July Long Challenge-Divison 2)

The link of the problem is :
https://www.codechef.com/JULY20B/problems/PTMSSNG

Ada and Dishes(November Long Challenge-Division 2)

The link of the problem is :
https://www.codechef.com/NOV20B/problems/ADADISH

Restore Sequence(November Long Challenge-Division 2)

The link of the problem is :
https://www.codechef.com/NOV20B/problems/RESTORE

Unique Email Addresses

The link of the problem is :
https://leetcode.com/problems/unique-email-addresses/

Unique 69Number

The link of the problem is :
https://leetcode.com/problems/maximum-69-number/

String Matching in an Array

The link of the problem is :
https://leetcode.com/problems/string-matching-in-an-array/

Richest Customer Wealth(217th Weekly Contest)

The link of the problem is :
https://leetcode.com/contest/weekly-contest-217/problems/richest-customer-wealth/

Find the Most Competitive Subsequence(217th Weekly Contest)

The link of the problem is :
https://leetcode.com/contest/weekly-contest-217/problems/find-the-most-competitive-subsequence/

Vaccine Production(December Codechef Long Challenge)

The link of the problem is:
https://www.codechef.com/DEC20B/problems/VACCINE1

Even-Pair Sum(December Codechef Long Challenge)

The link of the problem is:
https://www.codechef.com/DEC20B/problems/EVENPSUM

Vaccine Distribution(December Codechef Long Challenge)

The link of the problem is :
https://www.codechef.com/DEC20B/problems/VACCINE2

Chef Wars(August Codechef Long Challenge)

The link of the problem is :
https://www.codechef.com/AUG20B/problems/CHEFWARS

Chef and Linear Chess(August Codechef Long Challenge)

The link of the problem is :
https://www.codechef.com/AUG20B/problems/LINCHESS

Another Card Game(August Codechef Long Challenge)

The link of the problem is :
https://www.codechef.com/AUG20B/problems/CRDGAME3

Smallest KMP(August Codechef Long Challenge)

The link of the problem is :
https://www.codechef.com/AUG20B/problems/SKMP

Postive Prefixes(December Codechef Long Challenge)

The link of the problem is :
https://www.codechef.com/DEC20B/problems/POSPREFS

Maximum Subarray

The link of the problem is :
https://leetcode.com/problems/maximum-subarray/

Unique Paths

The link of the problem is :
https://leetcode.com/problems/unique-paths/

String Matching in an Array

The link of the problem is :
https://leetcode.com/problems/string-matching-in-an-array/

Bit Difference

The link of the problem is :
https://www.geeksforgeeks.org/count-number-of-bits-to-be-flipped-to-convert-a-to-b/

Chef and Division 3(January Long Challenge )

The link of the problem is :
https://www.codechef.com/JAN21C/problems/DIVTHREE

Encoded String(January Long Challenge )

The link of the problem is :
https://www.codechef.com/JAN21C/problems/DECODEIT

Fair Elections(January Long Challenge )

The link of the problem is :
https://www.codechef.com/JAN21C/problems/FAIRELCT

Point of Impact(January Long Challenge )

The link of the problem is :
https://www.codechef.com/JAN21C/problems/BILLRD

Max Number of K-Sum Pairs

The link of the problem is :
https://leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/581/week-3-january-15th-january-21st/3608/

Count Sorted Vowel Strings

The link of the problem is :
https://leetcode.com/explore/challenge/card/january-leetcoding-challenge-2021/581/week-3-january-15th-january-21st/3607/

Increasing Decreasing String

The link of the problem is :
https://leetcode.com/problems/increasing-decreasing-string/

Top K Frequent Elements

The link of the problem is :
https://leetcode.com/problems/top-k-frequent-elements/

College Life 2

The link of the problem is :
https://www.codechef.com/START1C/problems/COLGLF2

Chef amd Coupon

The link of the problem is :
https://www.codechef.com/START1C/problems/COUPON2

The Highest Divisor

The link of the problem is :
https://www.codechef.com/FEB21C/problems/HDIVISR

Maximise Function

The link of the problem is :
https://www.codechef.com/FEB21C/problems/MAXFUN

Chef and Meetings

The link of the problem is :
https://www.codechef.com/FEB21C/problems/MEET

Solubolity(May LLong Challenge 2021)

The link of the problem is :
https://www.codechef.com/MAY21C/problems/SOLBLTY

Golf (May Long Challenge 2021)

The link of the problem is :
https://www.codechef.com/MAY21C/submit/LKDNGOLF

Summer Heat (June Long Challenge 2021)

The link of the problem is :
https://www.codechef.com/JUNE21C/problems/COCONUT

Determine Whether Matrix Can Be Obtained By Rotation

The link of the problem is :
https://leetcode.com/submissions/detail/505080431/

Bella Ciao(June Long Challenge 2021)

The link of the problem is :
https://www.codechef.com/JUNE21C/problems/CHFHEIST

Jump Game 2

The link of the problem is :
https://leetcode.com/problems/jump-game-ii/submissions/

Merge Intervals

The link of the problem is :
https://leetcode.com/problems/merge-intervals/submissions/

Count Pairs with given sum

The link of the problem is :
https://www.geeksforgeeks.org/count-pairs-with-given-sum/

Factorial of large number

The link of the problem is :
https://practice.geeksforgeeks.org/problems/factorials-of-large-numbers2508/1

Longest Consecutive Subsequence

The link of the problem is :
https://leetcode.com/problems/longest-consecutive-sequence/submissions/

Best Time to Buy and Sell Stock II

The link of the problem is :
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/

Trapping Rain Water

The link of the problem is :
https://leetcode.com/problems/trapping-rain-water/

Chocolate Distribution Problem

The link of the problem is :
https://www.geeksforgeeks.org/chocolate-distribution-problem/

Minimum Size Subarray Sum

The link of the problem is :
https://leetcode.com/problems/minimum-size-subarray-sum/

Minimum Swaps required to bring elements less tahn equal to k together

The link of the problem is :
https://practice.geeksforgeeks.org/problems/minimum-swaps-required-to-bring-all-elements-less-than-or-equal-to-k-together4847/1

Spiral Matrix

The link of the problem is :
https://leetcode.com/problems/spiral-matrix/

Find Pair Given Difference

The link of the problem is :
https://practice.geeksforgeeks.org/problems/find-pair-given-difference1559/1#

Stickler Thief

The link of the problem is :
https://practice.geeksforgeeks.org/problems/stickler-theif-1587115621/1#

Subarray with sum equals K

The link of the problem is :
https://practice.geeksforgeeks.org/problems/zero-sum-subarrays1825/1#

Sort Integers by The Number of 1 Bits

The link of the problem is :
https://leetcode.com/problems/sort-integers-by-the-number-of-1-bits/

Cells in a range on an Excel Sheet

The link of the problem is :
https://leetcode.com/problems/cells-in-a-range-on-an-excel-sheet/discuss/1824082/C%2B%2B-or-Brute-Force-or-Clean-and-Concise

About

This repository contains my submissions for online monthly long challenges on Leetcode


Languages

Language:C++ 85.9%Language:Python 11.4%Language:Java 2.6%