Giter VIP home page Giter VIP logo

java-interview-coding-practice's Introduction

Java Interview Coding Practice

Getting started

You need Java 8+ installed and add all jar files in lib directory as dependencies in your IDE.

And then start from tests.

Lance Interview Questions

  1. Get the third largest integer within a list of integer
  2. Get the index of right parenthesis for the matching left parenthesis
  3. Print all the combination of 7 balls each with different colors with or w/out considering the order

Javin Paul String-based Questions

Javin Paul string-base questions

  1. How do you reverse a given string in place?
  2. How do you print duplicate characters from a string?
  3. How do you check if two strings are anagrams of each other?
  4. How do you find all the permutations of a string?
  5. How can a given string be reversed using recursion?
  6. How do you check if a string contains only digits?
  7. How do you find duplicate characters in a given string?
  8. How do you count a number of vowels and consonants in a given string?
  9. How do you count the occurrence of a given character in a string?
  10. How do you print the first non-repeated character from a string?
  11. How do you convert a given String into int like the atoi()?
  12. How do you reverse words in a given sentence without using any library method?
  13. How do you check if two strings are a rotation of each other?
  14. How do you check if a given string is a palindrome?
  15. How do you find the length of the longest substring without repeating characters?
  16. Given string str, How do you find the longest palindromic substring in str?
  17. How to convert a byte array to String?
  18. how to remove the duplicate character from String?
  19. How to find the maximum occurring character in given String?
  20. How do you remove a given character from String?

java-interview-coding-practice's People

Contributors

idontwannarock avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.