Git Product home page Git Product logo

java-code-challenges's Introduction

Java-code-challenges

Java-code-challenges

this repository contains coding problems related to String abd their solutions.

Challenge 1) Print duplicate characters from String? \n Challenge 2) check if two Strings are anagrams of each other? Challenge 3) print first non repeated character from String? Challenge 4) How to reverse String in Java using Iteration and Recursion? Challenge 5) How to check if a String contains only digits?
Challenge 6) How to find duplicate characters in a String? Challenge 7) How to count number of vowels and consonants in a String? Challenge 8) How to count occurrence of a given character in String? Challenge 9) A classical coding interview question based upon String. You need to write a method like atoi() from C/C++, which takes a numeric String and return its int equivalent. For example, if you pass "67263" to the program then it should return 67263. Challenge 10) How to replace each given character to other e.g. blank with %20? Challenge 11) How to find all permutations of String? Challenge 12) How to reverse words in a sentence without using library method? Challenge 13) How to check if String is Palindrome? Challenge 14) How to remove duplicate characters from String? Challenge 16) Validate xml tags structure ----to be done----- Challenge 17) How to return highest occurred character in a String? Challenge 18) Write a program to remove a given characters from String? Challenge 19) Write a program to find longest palindrome in a string? Challenge 20) How to sort String on their length in Java? Challenge 21)Write a program to check if a String contains another String e.g. indexOf()?

java-code-challenges's People

Contributors

singhvirendra18gmailcom avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

aspineonxyz

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.