Skip to content

Gaurav-137/Leetcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode



Question No. Question Name Link
0001 Two Sum https://github.com/onkardighe/Leetcode/blob/master/_0001_Two_Sum.java
0004 Median of Two Sorted Arrays https://github.com/onkardighe/Leetcode/blob/master/_0004_Median_of_Two_Sorted_Arrays.java
0009 Palindrome Number https://github.com/onkardighe/Leetcode/blob/master/_0009_Palindrome_Number.java
0012 Integer to Roman https://github.com/onkardighe/Leetcode/blob/master/_0012_Integer_to_Roman.java
0013 Roman to Integer https://github.com/onkardighe/Leetcode/blob/master/_0013_Roman_to_Integer.java
0014 Longest Common Prefix https://github.com/onkardighe/Leetcode/blob/master/_0014_Longest_Common_Prefix.java
0019 Remove Nth Node From End of List https://github.com/onkardighe/Leetcode/blob/master/_0019_Remove_Nth_Node_From_End_of_List.java
0020 Valid Parentheses https://github.com/onkardighe/Leetcode/blob/master/_0020_Valid_Parentheses.java
0023 Merge k Sorted Lists https://github.com/onkardighe/Leetcode/blob/master/_0023_Merge_k_Sorted_Lists.java
0026 Remove Duplicates from Sorted Array https://github.com/onkardighe/Leetcode/blob/master/_0026_Remove_Duplicates_from_Sorted_Array.java
0027 Remove Element https://github.com/onkardighe/Leetcode/blob/master/_0027_Remove_Element.java
0033 Search Rotated Sorted Array https://github.com/onkardighe/Leetcode/blob/master/_0033_Search_Rotated_Sorted_Array.java
0034 Find First and Last Position of Element in Sorted Array https://github.com/onkardighe/Leetcode/blob/master/_0034_Find_First_and_Last_Position_of_Element_in_Sorted_Array.java
0041 First Missing Positive https://github.com/onkardighe/Leetcode/blob/master/_0041_First_Missing_Positive.java
0047 Permutations II https://github.com/onkardighe/Leetcode/blob/master/_0047_Permutations_II.java
0048 Rotate Image https://github.com/onkardighe/Leetcode/blob/master/_0048_Rotate_Image.java
0051 N Queens https://github.com/onkardighe/Leetcode/blob/master/_0051_N_Queens.java
0052 N Queens II https://github.com/onkardighe/Leetcode/blob/master/_0052_N_Queens_II.java
0055 Jump Game https://github.com/onkardighe/Leetcode/blob/master/_0055_Jump_Game.java
0058 Length of Last Word https://github.com/onkardighe/Leetcode/blob/master/_0058_Length_of_Last_Word.java
0069 SqrtX https://github.com/onkardighe/Leetcode/blob/master/_0069_SqrtX.java
0070 Climbing Stairs https://github.com/onkardighe/Leetcode/blob/master/_0070_Climbing_Stairs.java
0074 Search 2D Matrix https://github.com/onkardighe/Leetcode/blob/master/_0074_Search_2D_Matrix.java
0083 Remove Duplicates from Sorted List https://github.com/onkardighe/Leetcode/blob/master/_0083_Remove_Duplicates_from_Sorted_List.java
0094 Binary Tree Inorder Traversal https://github.com/onkardighe/Leetcode/blob/master/_0094_Binary_Tree_Inorder_Traversal.java
0120 Triangle https://github.com/onkardighe/Leetcode/blob/master/_0120_Triangle.java
0125 Valid Palindrome https://github.com/onkardighe/Leetcode/blob/master/_0125_Valid_Palindrome.java
0128 Longest Consecutive Sequence https://github.com/onkardighe/Leetcode/blob/master/_0128_Longest_Consecutive_Sequence.java
0136 Single Number https://github.com/onkardighe/Leetcode/blob/master/_0136_Single_Number.java
0143 Reorder List https://github.com/onkardighe/Leetcode/blob/master/_0143_Reorder_List.java
0144 Binary Tree Preorder Traversal https://github.com/onkardighe/Leetcode/blob/master/_0144_Binary_Tree_Preorder_Traversal.java
0145 Binary Tree Postorder Traversal https://github.com/onkardighe/Leetcode/blob/master/_0145_Binary_Tree_Postorder_Traversal.java
0151 Reverse Words in a String https://github.com/onkardighe/Leetcode/blob/master/_0151_Reverse_Words_in_a_String.java
0162 Find Peak Element https://github.com/onkardighe/Leetcode/blob/master/_0162_Find_Peak_Element.java
0167 Two Sum II Input Array Sorted https://github.com/onkardighe/Leetcode/blob/master/_0167_Two_Sum_II_Input_Array_Sorted.java
0173 Binary Search Tree Iterator https://github.com/onkardighe/Leetcode/blob/master/_0173_Binary_Search_Tree_Iterator.java
0191 Number 1 Bits https://github.com/onkardighe/Leetcode/blob/master/_0191_Number_1_Bits.java
0199 Binary Tree Right Side View https://github.com/onkardighe/Leetcode/blob/master/_0199_Binary_Tree_Right_Side_View.java
0203 Remove Linked List Elements https://github.com/onkardighe/Leetcode/blob/master/_0203_Remove_Linked_List_Elements.java
0206 Reverse Linked List https://github.com/onkardighe/Leetcode/blob/master/_0206_Reverse_Linked_List.java
0215 Kth Largest Element in Array https://github.com/onkardighe/Leetcode/blob/master/_0215_Kth_Largest_Element_in_Array.java
0217 contains Duplicate https://github.com/onkardighe/Leetcode/blob/master/_0217_contains_Duplicate.java
0225 Implement Stack using Queues https://github.com/onkardighe/Leetcode/blob/master/_0225_Implement_Stack_using_Queues.java
0230 Kth Smallest Element in BST https://github.com/onkardighe/Leetcode/blob/master/_0230_Kth_Smallest_Element_in_BST.java
0231 Power of Two https://github.com/onkardighe/Leetcode/blob/master/_0231_Power_of_Two.java
0232 Implement Queue using Stacks https://github.com/onkardighe/Leetcode/blob/master/_0232_Implement_Queue_using_Stacks.java
0237 Delete Node in Linked List https://github.com/onkardighe/Leetcode/blob/master/_0237_Delete_Node_in_Linked_List.java
0258 Add Digits https://github.com/onkardighe/Leetcode/blob/master/_0258_Add_Digits.java
0268 missing number https://github.com/onkardighe/Leetcode/blob/master/_0268_missing_number.java
0278 First Bad Version https://github.com/onkardighe/Leetcode/blob/master/_0278_First_Bad_Version.java
0283 Move Zeroes https://github.com/onkardighe/Leetcode/blob/master/_0283_Move_Zeroes.java
0284 Peeking Iterator https://github.com/onkardighe/Leetcode/blob/master/_0284_Peeking_Iterator.java
0287 Find Duplicate Number https://github.com/onkardighe/Leetcode/blob/master/_0287_Find_Duplicate_Number.java
0326 Power of Three https://github.com/onkardighe/Leetcode/blob/master/_0326_Power_of_Three.java
0338 Counting Bits https://github.com/onkardighe/Leetcode/blob/master/_0338_Counting_Bits.java
0342 Power of Four https://github.com/onkardighe/Leetcode/blob/master/_0342_Power_of_Four.java
0344 Reverse String https://github.com/onkardighe/Leetcode/blob/master/_0344_Reverse_String.java
0345 Reverse Vowels of String https://github.com/onkardighe/Leetcode/blob/master/_0345_Reverse_Vowels_of_String.java
0347 Top K Frequent Elements https://github.com/onkardighe/Leetcode/blob/master/_0347_Top_K_Frequent_Elements.java
0442 Find All Duplicates in Array https://github.com/onkardighe/Leetcode/blob/master/_0442_Find_All_Duplicates_in_Array.java
0448 Find All Numbers Disappeared in Array https://github.com/onkardighe/Leetcode/blob/master/_0448_Find_All_Numbers_Disappeared_in_Array.java
0453 Minimum Moves Equal Array Elements https://github.com/onkardighe/Leetcode/blob/master/_0453_Minimum_Moves_Equal_Array_Elements.java
0462 Minimum Moves Equal Array Elements II https://github.com/onkardighe/Leetcode/blob/master/_0462_Minimum_Moves_Equal_Array_Elements_II.java
0509 Fibonacci Number https://github.com/onkardighe/Leetcode/blob/master/_0509_Fibonacci_Number.java
0530 Minimum Absolute Difference in BST https://github.com/onkardighe/Leetcode/blob/master/_0530_Minimum_Absolute_Difference_in_BST.java
0535 Encode and Decode TinyURL https://github.com/onkardighe/Leetcode/blob/master/_0535_Encode_and_Decode_TinyURL.java
0538 Convert BST to Greater Tree https://github.com/onkardighe/Leetcode/blob/master/_0538_Convert_BST_to_Greater_Tree.java
0581 Shortest Unsorted Continuous Subarray https://github.com/onkardighe/Leetcode/blob/master/_0581_Shortest_Unsorted_Continuous_Subarray.java
0645 Set Mismatch https://github.com/onkardighe/Leetcode/blob/master/_0645_Set_Mismatch.java
0653 Two Sum IV Input is BST https://github.com/onkardighe/Leetcode/blob/master/_0653_Two_Sum_IV_Input_is_BST.java
0680 Valid Palindrome II https://github.com/onkardighe/Leetcode/blob/master/_0680_Valid_Palindrome_II.java
0682 Baseball Game https://github.com/onkardighe/Leetcode/blob/master/_0682_Baseball_Game.java
0703 Kth Largest Element Stream https://github.com/onkardighe/Leetcode/blob/master/_0703_Kth_Largest_Element_Stream.java
0704 Binary Search https://github.com/onkardighe/Leetcode/blob/master/_0704_Binary_Search.java
0705 Design HashSet https://github.com/onkardighe/Leetcode/blob/master/_0705_Design_HashSet.java
0706 Design HashMap https://github.com/onkardighe/Leetcode/blob/master/_0706_Design_HashMap.java
0744 Find Smallest Letter Greater Than Target https://github.com/onkardighe/Leetcode/blob/master/_0744_Find_Smallest_Letter_Greater_Than_Target.java
0746 Min Cost Climbing Stairs https://github.com/onkardighe/Leetcode/blob/master/_0746_Min_Cost_Climbing_Stairs.java
0763 Partition Labels https://github.com/onkardighe/Leetcode/blob/master/_0763_Partition_Labels.java
0844 Backspace String Compare https://github.com/onkardighe/Leetcode/blob/master/_0844_Backspace_String_Compare.java
0852 Peak Index in a Mountain Array https://github.com/onkardighe/Leetcode/blob/master/_0852_Peak_Index_in_a_Mountain_Array.java
0867 Transpose Matrix https://github.com/onkardighe/Leetcode/blob/master/_0867_Transpose_Matrix.java
0876 Middle of Linked List https://github.com/onkardighe/Leetcode/blob/master/_0876_Middle_of_Linked_List.java
0881 Boats Save People https://github.com/onkardighe/Leetcode/blob/master/_0881_Boats_Save_People.java
0892 Surface Area of 3D Shapes https://github.com/onkardighe/Leetcode/blob/master/_0892_Surface_Area_of_3D_Shapes.java
0897 Increasing Order Search Tree https://github.com/onkardighe/Leetcode/blob/master/_0897_Increasing_Order_Search_Tree.java
0905 Sort Array By Parity https://github.com/onkardighe/Leetcode/blob/master/_0905_Sort_Array_By_Parity.java
1025 Divisor Game https://github.com/onkardighe/Leetcode/blob/master/_1025_Divisor_Game.java
1046 Last Stone Weight https://github.com/onkardighe/Leetcode/blob/master/_1046_Last_Stone_Weight.java
1048 Longest String Chain https://github.com/onkardighe/Leetcode/blob/master/_1048_Longest_String_Chain.java
1137 Nth Tribonacci Number https://github.com/onkardighe/Leetcode/blob/master/_1137_Nth_Tribonacci_Number.java
1184 Distance Between Bus Stops https://github.com/onkardighe/Leetcode/blob/master/_1184_Distance_Between_Bus_Stops.java
1295 Numbers with Even Digit https://github.com/onkardighe/Leetcode/blob/master/_1295_Numbers_with_Even_Digit.java
1337 K Weakest Rows in Matrix https://github.com/onkardighe/Leetcode/blob/master/_1337_K_Weakest_Rows_in_Matrix.java
1365 How Many Numbers Are Smaller Than Current Number https://github.com/onkardighe/Leetcode/blob/master/_1365_How_Many_Numbers_Are_Smaller_Than_Current_Number.java
1396 Design Underground System https://github.com/onkardighe/Leetcode/blob/master/_1396_Design_Underground_System.java
1423 Maximum Points Obtain from Cards https://github.com/onkardighe/Leetcode/blob/master/_1423_Maximum_Points_Obtain_from_Cards.java
1450 Students Doing Homework at Given Time https://github.com/onkardighe/Leetcode/blob/master/_1450_Students_Doing_Homework_at_Given_Time.java
1455 Check If Word Occurs As Prefix of Any Word in Sentence https://github.com/onkardighe/Leetcode/blob/master/_1455_Check_If_Word_Occurs_As_Prefix_of_Any_Word_in_Sentence.java
1465 Maximum Area Piece Cake After Horizontal Vertical Cuts https://github.com/onkardighe/Leetcode/blob/master/_1465_Maximum_Area_Piece_Cake_After_Horizontal_Vertical_Cuts.java
1480 Running Sum of 1d Array https://github.com/onkardighe/Leetcode/blob/master/_1480_Running_Sum_of_1d_Array.java
1598 Crawler Log Folder https://github.com/onkardighe/Leetcode/blob/master/_1598_Crawler_Log_Folder.java
1679 Max Number of K Sum Pairs https://github.com/onkardighe/Leetcode/blob/master/_1679_Max_Number_of_K_Sum_Pairs.java
1689 Partitioning Minimum Number of Deci Binary Numbers https://github.com/onkardighe/Leetcode/blob/master/_1689_Partitioning_Minimum_Number_of_Deci_Binary_Numbers.java
1700 Number of Students Unable to Eat Lunch https://github.com/onkardighe/Leetcode/blob/master/_1700_Number_of_Students_Unable_to_Eat_Lunch.java
1710 Maximum Units on Truck https://github.com/onkardighe/Leetcode/blob/master/_1710_Maximum_Units_on_Truck.java
1721 Swapping Nodes Linked List https://github.com/onkardighe/Leetcode/blob/master/_1721_Swapping_Nodes_Linked_List.java
1816 Truncate Sentence https://github.com/onkardighe/Leetcode/blob/master/_1816_Truncate_Sentence.java
1886 Determine Whether Matrix Obtained Rotation https://github.com/onkardighe/Leetcode/blob/master/_1886_Determine_Whether_Matrix_Obtained_Rotation.java
1961 Check If String Is Prefix of Array https://github.com/onkardighe/Leetcode/blob/master/_1961_Check_If_String_Is_Prefix_of_Array.java
2011 Final Value Variable After Performing Operations https://github.com/onkardighe/Leetcode/blob/master/_2011_Final_Value_Variable_After_Performing_Operations.java
2042 Check if Numbers Are Ascending Sentence https://github.com/onkardighe/Leetcode/blob/master/_2042_Check_if_Numbers_Are_Ascending_Sentence.java
2073 Time Needed to Buy Tickets https://github.com/onkardighe/Leetcode/blob/master/_2073_Time_Needed_to_Buy_Tickets.java
2095 Delete Middle Node of Linked List https://github.com/onkardighe/Leetcode/blob/master/_2095_Delete_Middle_Node_of_Linked_List.java
2108 Find First Palindromic String Array https://github.com/onkardighe/Leetcode/blob/master/_2108_Find_First_Palindromic_String_Array.java
2114 Maximum Number Words Found Sentences https://github.com/onkardighe/Leetcode/blob/master/_2114_Maximum_Number_Words_Found_Sentences.java
2185 Counting Words With Given Prefix https://github.com/onkardighe/Leetcode/blob/master/_2185_Counting_Words_With_Given_Prefix.java
2220 Minimum Bit Flips to Convert Number https://github.com/onkardighe/Leetcode/blob/master/_2220_Minimum_Bit_Flips_to_Convert_Number.java
2236 Root Equals Sum of Children https://github.com/onkardighe/Leetcode/blob/master/_2236_Root_Equals_Sum_of_Children.java
2255 Count Prefixes of Given String https://github.com/onkardighe/Leetcode/blob/master/_2255_Count_Prefixes_of_Given_String.java
  • Total Questions : 120


Contributors ❤️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%