Giter Site home page Giter Site logo

coding_skillset_topicwise's Introduction

Coding_SkillSet_Topicwise

Code the following questions.

Please answer the questions in the "AnswerX.cpp" format..
This repositiory is to help begineers with open source..

Arrays:

Q1) Sort an array of 0’s 1’s 2’s without using extra space or sorting algorithm.
Q2) Repeat and Missing Number.
Q3) Merge two sorted Arrays without extra space.
Q4) Kadane’s Algorithm.
Q5) Merge Overlapping Subintervals.
Q6) Find the duplicate in an array of N+1 integers.
Q7) Set Matrix Zeroes.
Q8) Pascal Triangle.
Q9) Next Permutation.
Q10) Inversion of Array (Using Merge Sort).
Q11) Stock Buy and Sell.
Q12) Rotate Matrix.

Arrays/Maths:

Q13) Search in a 2D matrix.
Q14) Pow(X,n).
Q15) Majority Element (>N/2 times).
Q16) Majority Element (>N/3 times).
Q17) Grid Unique Paths.
Q18) Reverse Pairs.

Hashing:

Q19) 2 Sum problem.
Q20) 4 Sum problem.
Q21) Longest Consecutive Sequence.
Q22) Largest Subarray with 0 sum.
Q23) Count number of subarrays with given XOR(this clears a lot of problems).
Q24) Longest substring without repeat.

Linklist:

Q25) Reverse a LinkedList.
Q26) Find middle of LinkedList.
Q27) Merge two sorted Linked List.
Q28) Remove N-th node from back of LinkedList.
Q29) Delete a given Node when a node is given. (0(1) solution).
Q30) Add two numbers as LinkedList.
Q31) Find intersection point of Y LinkedList.
Q32) Detect a cycle in Linked List.
Q33) Reverse a LinkedList in groups of size k.
Q34) Check if a LinkedList is palindrome or not.
Q35) Find the starting point of the Loop of LinkedList.
Q36) Flattening of a LinkedList.
Q37) Rotate a LinkedList.

2-pointer:

Q38) Clone a Linked List with random and next pointer.
Q39) 3 sum.
Q40) Trapping rainwater.
Q41) Remove Duplicate from Sorted array.
Q42) Max consecutive ones.

Binary Tree:

Q43) Level order Traversal / Level order traversal in spiral form.
Q44) Height of a Binary Tree.
Q45) Diameter of Binary Tree.
Q46) Check if Binary tree is height balanced or not.
Q47) LCA in Binary Tree.
Q48) Check if two trees are identical or not.
Q49) Maximum path sum.
Q50) Construct Binary Tree from inorder and preorder.
Q51) Construct Binary Tree from Inorder and Postorder.
Q52) Symmetric Binary Tree.
Q53) Flatten Binary Tree to LinkedList.
Q54) Check if Binary Tree is mirror of itself or not.

Graph:

Q55) Print Adjacency List.
Q56) Print BFS of a graph.
Q57) Print DFS of a graph.
Q58) Find Transitive closure of a graph.
Q59) Union Find.
Q60) Detect cycle using DSU in graph.
Q61) Number of Provinces.
Q62) Find the number of islands.
Q63) Detect cycle in an undirected graph.
Q64) Hamiltonian Path.
Q65) Prerequisites Tasks.
Q66) COurse SChedule.
Q67) Circle of Strings.
Q68) Snake and Ladder problem.
Q69) Bipartite graph.
Q70) Maximum BIpartite Matching.

Extra Questions:

Q71) Allocate Books.
Q72) Aggresive Cow.
Q72) Celebrity Problem.
Q73) Largest Rectangle in Histogram.
Q74) Rat in a maze.

Stack:

Q75) Valid parenthesis.
Q76) Reverse stack using recursion.
Q77) Delete middle element in stack.
Q78) Redundant brackets.

Dynamic Programming

Q79) 0-1 Knapsack Problem

Queue

Q80) Flatten Nested List Iterator.
Q81) Number of Students Unable to Eat Lunch.

Arrays1:
Q1.1) Sort an array of 0’s 1’s 2’s without using extra space or sorting algorithm.
Q1.2) Repeat and Missing Number.
Q1.3) Merge two sorted Arrays without extra space.
Q1.4) Kadane’s Algorithm.
Q1.5) Merge Overlapping Subintervals.
Q1.6) Find the duplicate in an array of N+1 integers.
Q1.7) Set Matrix Zeroes.
Q1.8) Pascal Triangle.
Q1.9) Next Permutation.
Q1.10) Inversion of Array (Using Merge Sort).
Q1.11) Stock Buy and Sell.
Q1.12) Rotate Matrix.

Will be adding question related to other data structures soon.

ForTheBadge built-with-love

coding_skillset_topicwise's People

Contributors

abhishek-greninja17 avatar akshaygidwani404 avatar allyouwish avatar anuagarwal62680 avatar arrowarchit avatar babesgotbyte avatar blog-a1 avatar deepu13 avatar dhruviagrawal avatar gargi-agrawal avatar idan22moral avatar jyotika999 avatar kesav890 avatar mark-42 avatar medhabalani avatar palak2001 avatar paras399979 avatar pooja-das avatar prakarsh-kaushik avatar ramsathecoder avatar raunakagarwal18 avatar rtp77 avatar shash-2468 avatar swrnv avatar whytoworry avatar youngdevelopers3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

coding_skillset_topicwise's Issues

Question 4

Write only the functional implementation required.
Only C++ is allowed.

Question 12

Write only the functional implementation required.
Only C++ is allowed.

Question 32

Write only the functional implementation required.
Only C++ is allowed.

Question 11

Write only the functional implementation required.
Only C++ is allowed.

Question 43

Write only the functional implementation required.
Only C++ is allowed.

Question 29

Write only the functional implementation required.
Only C++ is allowed.

Question 34

Write only the functional implementation required.
Only C++ is allowed.

Question 19

Write only the functional implementation required.
Only C++ is allowed.

Question 13

Write only the functional implementation required.
Only C++ is allowed.

Question 31

Write only the functional implementation required.
Only C++ is allowed.

Question 9

Write only the functional implementation required.
Only C++ is allowed.

Question 37

Write only the functional implementation required.
Only C++ is allowed.

Question1

Write only the functional implementation required.

Question 30

Write only the functional implementation required.
Only C++ is allowed.

Question 23

Write only the functional implementation required.
Only C++ is allowed.

Question 5

Write only the functional implementation required.
Only C++ is allowed.

Question 14

Write only the functional implementation required.
Only C++ is allowed.

Question 7

Write only the functional implementation required.
Only C++ is allowed.

Question 40

Write only the functional implementation required.
Only C++ is allowed.

Question 8

Write only the functional implementation required.
Only C++ is allowed.

Question 24

Write only the functional implementation required.
Only C++ is allowed.

Question 44

Write only the functional implementation required.
Only C++ is allowed.

Question 26

Write only the functional implementation required.
Only C++ is allowed.

Question 49

Write only the functional implementation required.
Only C++ is allowed.

Question 10

Write only the functional implementation required.
Only C++ is allowed.

Question 41

Write only the functional implementation required.
Only C++ is allowed.

Question 6

Write only the functional implementation required.
Only C++ is allowed.

Question 36

Write only the functional implementation required.
Only C++ is allowed.

Question 46

Write only the functional implementation required.
Only C++ is allowed.

Question 2

Write only the functional implementation required.

Question 38

Write only the functional implementation required.
Only C++ is allowed.

Question 45

Write only the functional implementation required.
Only C++ is allowed.

Question 21

Write only the functional implementation required.
Only C++ is allowed.

Question 16

Write only the functional implementation required.
Only C++ is allowed.

Question 15

Write only the functional implementation required.
Only C++ is allowed.

Question 22

Write only the functional implementation required.
Only C++ is allowed.

Question 20

Write only the functional implementation required.
Only C++ is allowed.

Question 48

Write only the functional implementation required.
Only C++ is allowed.

Question 17

Write only the functional implementation required.
Only C++ is allowed.

Question 28

Write only the functional implementation required.
Only C++ is allowed.

Question 25

Write only the functional implementation required.
Only C++ is allowed.

Question 35

Write only the functional implementation required.
Only C++ is allowed.

Question 47

Write only the functional implementation required.
Only C++ is allowed.

Question 42

Write only the functional implementation required.
Only C++ is allowed.

Question 33

Write only the functional implementation required.
Only C++ is allowed.

Question 27

Write only the functional implementation required.
Only C++ is allowed.

Question 18

Write only the functional implementation required.
Only C++ is allowed.

Question 39

Write only the functional implementation required.
Only C++ is allowed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.