Skip to content

kartik2828/BasicCodingQuestions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 

Repository files navigation

BasicCodingQuestions

Basic Questions in Java up to 4LPA

Day 1

Question No Topic Name Link
1 Swap two Numbers Link
2 Reverse a Number Link
3 Reverse a String Link
4 Palindrome Number Link
5 Palindrome String Link

Day 2

Question No Topic Name Link
6 Count the number of digits in a number Link
7 Count the number of even and odd digits in a number Link
8 Count the sum of digits in a number Link
9 Find the largest of 3 Numbers Link
10 Generate Fibonacci series Link

Day 3

Question No Topic Name Link
11 Check whether the given number is prime or not -
12 Find the Smallest and largest element in an array -
13 Factorial of a number -
14 Find the sum of elements in an array -
15 Print even & odd numbers from an array -

Day 4

  1. How to check the equality of two arrays
  2. Find a Missing Number in an array
  3. How to find maximum and minimum values in an array
  4. How to find duplicate elements in an array
  5. Searching an element in an array with Linear Search

Day 5

  1. Searching an element in an array with Binary Search
  2. Sort elements in an array with Bubble Sort
  3. Sort elements in an array using Built-in methods
  4. How to remove junk or special characters in a string
  5. How to remove white spaces in a string

Day 6

  1. How to count occurrences of a character in a string
  2. How to count words in a string
  3. How to reverse each word in a string
  4. How to reverse an array

4-8 LPA level Questions of DSA

Array

Topic Name Link
Array Contains Duplicate Link
Valid Anagram Link
Two Sum Link
Group Anagrams Link
Top K Frequent Elements Link
Encode and Decode Strings Link
Product of Array Except Self Link
Valid Sudoku Link
Longest Consecutive Sequence Link
Valid Palindrome Link
Two Sum II Input Array Is Sorted Link
3Sum Link
Container With Most Water Link
Trapping Rain Water Link
Best Time to Buy And Sell Stock Link
Longest Substring Without Repeating Characters Link
Longest Repeating Character Replacement Link
Permutation In String Link
Minimum Window Substring Link
Sliding Window Maximum Link

Linked List

Topic Name Link
Linked List Reverse Linked List Link
Merge Two Sorted Lists Link
Reorder List Link
Remove Nth Node From End of List Link
Copy List With Random Pointer Link
Add Two Numbers Link
Linked List Cycle Link
Find The Duplicate Number Link
LRU Cache Link
Merge K Sorted Lists Link
Reverse Nodes In K Group Link

8-12 LPA Level Questions of DSA

Stack

Topic Name Link
Stack Valid Parentheses Link
Min Stack Link
Evaluate Reverse Polish Notation Link
Generate Parentheses Link
Daily Temperatures Link
Car Fleet Link
Largest Rectangle In Histogram Link

Binary Search

Topic Name Link
Binary Search Binary Search Link
Search a 2D Matrix Link
Koko Eating Bananas Link
Find Minimum In Rotated Sorted Array Link
Search In Rotated Sorted Array Link
Time Based Key Value Store Link
Median of Two Sorted Arrays Link

Backtracking

Topic Name Link
Backtracking Subsets Link
Combination Sum Link
Permutations Link
Subsets II Link
Combination Sum II Link
Word Search Link
Palindrome Partitioning Link
Letter Combinations of a Phone Number Link
N Queens Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages