Java2Blog
  • Home
  • Core Java
  • Tutorials
    • Spring
    • Spring Boot
    • Spring MVC
    • Java 8
    • Hibernate
  • Categories
    • Interview Questions
    • Spring Frameworks
    • Core java
    • Python
    • C++
  • NM
close
import_contacts

Java Tutorials

  • Core Java
  • Java Interview questions
  • Java 8 Stream
  • Java interview programs
import_contacts

Data structure and algorithm

  • Data structure in java
  • Data structure interview questions
import_contacts

Spring tutorials

  • Spring tutorial
  • Spring boot tutorial
  • Spring MVC tutorial
  • Spring interview questions

Interview

  • Algorithm Algorithm Interview String
    27 September

    Print maximum occurring character in a String

    In this post, we will see how to print the maximum occurring character in a String. Problem Print maximum occurring character in a String For example: String 1: java2blog tutorial Character: a has occurred maximum times in String: 3 ———————- String 2: This is test message Character: s has occurred maximum times in String: 5 […]

    Read More
  • Algorithm Algorithm Interview
    18 August

    Print all paths from top left to bottom right of MxN matrix

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see how to print all paths from top left to bottom right of MxN matrix. Problem We need to print all paths from top left to bottom right of MxN matrix. You can either […]

    Read More
  • Algorithm Algorithm Interview
    18 August

    Print Numbers from 1 to N without using loop in Java

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see how to print numbers from 1 to N without using loop in Java. Problem Print number from 1 to N without using any loop. N=10 Output: 1 2 3 4 5 6 […]

    Read More
  • Algorithm Algorithm Interview
    16 August

    Find all subsets of set (power set) in java

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see how to find all subsets of set or power set in java. Problem Given a set of distinct integers, arr, return all possible subsets (the power set). For example: Input: nums = [1,2,3] Output: […]

    Read More
  • Algorithm Algorithm Interview Array
    13 August

    Permutations of array in java

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see how to find all permutations of the array in java. Problem 1 Given array of distinct integers, print all permutations of the array. For example: array : [10, 20, 30] Permuations are : […]

    Read More
  • Algorithm Algorithm Interview dynamic programming
    13 August

    Count all paths from top left to bottom right of MxN matrix

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see about how to count all paths from top left to bottom right of MxN matrix. Problem We need to count all paths from top left to bottom right of MxN matrix. You can […]

    Read More
  • Algorithm Algorithm Interview dynamic programming
    12 August

    Memoization example in java

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this tutorial, we will see about Memoization example in java. Let me start with the question. Would you like to do same task again and again when you know that it is going to give you same […]

    Read More
  • Algorithm Algorithm Interview LinkedList
    12 August

    Intersection of two linked lists

    If you want to practice data structure and algorithm programs, you can go through 100+ java coding interview questions. In this post, we will see how to find Intersection of two linked lists. Problem Given two singly linked lists, find if two linked lists intersect. If they intersect, find intersection point. Solution Here is simple algorithm to […]

    Read More
  • Algorithm Algorithm Interview
    04 August

    LRU cache implementation in java

    If you want to practice data structure and algorithm programs, you can go through Java coding interview questions. In this post, we will see LRU cache implementation in java. Problem Design a Least recently used cache implementation in java. It should have below properties. bounded size: It should have bounded size to take care of memory limits. […]

    Read More
  • keyboard_arrow_left Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 23
  • Nextkeyboard_arrow_right

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020-22 Java2Blog Privacy Policy