Skip to content
  • Twitter
  • Facebook
  • GitHub
  • WordPress.com
yoUVcode

…Knowledge shared = 2 x Knowledge

  • Home
  • Angular
    • Angular
    • AngularJS (Angular 1)
  • Java
    • JDK9 Features
    • Java Advance Concepts
  • UI UX Development
    • HTML
    • CSS
    • Javascript
  • JavaScript
    • Angular
      • Angular
      • AngularJS (Angular 1)
    • Vue JS / Nuxt JS
    • jQuery
    • GruntJS – Javascript task runner
    • ReactJS
  • Interview Questions
    • Angular Qs
    • Aptitude
    • Git : Version control
    • Java Qs
    • Javascript Qs
    • PHP Qs
    • UI/UX
  • Other(s)
    • Adobe Flex & Action script 3
    • Hibernate
    • IDE Tricks
    • MySQL
    • Oracle SQL/PL-SQL
    • PHP
    • Servers
  • Contact

Category: Java Qs

Minimum Deletion Cost to Avoid Repeating LettersMinimum Deletion Cost to Avoid Repeating Letters

Minimum Deletion Cost to Avoid Repeating Letters

October 21, 2020 Vinay Gulati

This is a Leet Code problem (1578 – Minimum Deletion Cost to Avoid Repeating Letters) solved in Java, the problem description is:

Given a string s and an array of integers cost where cost[i] is the cost of deleting the ith character in s.

Continue reading

Remove Duplicates from Sorted Array

July 28, 2020 Vinay Gulati

This is a Leet Code problem solved in Java, the problem description is:

Continue reading

Difference between Synchronized & Volatile in Java

August 20, 2019 youvcode

volatile keyword in Java is field modifier while synchronized modifies code blocks and methods. synchronized acquires and releases locks on entire code block or method

Continue reading

Javascript Hoisting : Function Hoisting

October 8, 2018 youvcode

In Previous article, We have looked into how Javascript Hoisting works. Hoisting is Javascript’s default behavior of moving declarations to top of the file. There

Continue reading

Minimum Deletion Cost to Avoid Repeating LettersMinimum Deletion Cost to Avoid Repeating Letters

How to access REF CURSOR Data in Java ?

November 12, 2017 youvcode

In Java, a REF CURSOR is known as a ResultSet object and can be accessed as shown below: import oracle.jdbc.*; … CallableStatement cstmt; ResultSet cursor; // Use a PL/SQL block

Continue reading

Minimum Deletion Cost to Avoid Repeating LettersMinimum Deletion Cost to Avoid Repeating Letters

Convert List to a Set / Set to List in Java

November 7, 2017 youvcode

In Java, When we are working on real time projects.. Generally we came across scenarios like Converting List to Set Object or Vice Versa. 1.

Continue reading

Swipe 2 Numbers without using Third Variable or Temp Variable | Interview question

October 31, 2017 youvcode

While giving interviews, Interviewers generally asks questions which tests logical thinking of candidate. This is one of the questions I faced while giving Interviews. There

Continue reading

Minimum Deletion Cost to Avoid Repeating LettersMinimum Deletion Cost to Avoid Repeating Letters

JAR vs. WAR vs. EAR

October 28, 2017 youvcode

In J2EE application modules are packaged as EAR, JAR and WAR based on their functionality   JAR: EJB modules which contains enterprise java beans class

Continue reading

How to iterate HashMap in Java ?

October 21, 2017 youvcode

  public static void printMap(Map mp) { Iterator it = mp.entrySet().iterator(); while (it.hasNext()) { Map.Entry pair = (Map.Entry) it.next(); System.out.println(pair.getKey() + ” = ” +

Continue reading

Why List = new ArrayList() ? in Java

October 21, 2017 youvcode

The main reason you’d do this is to decouple your code from a specific implementation of the interface. When you write your code like this:

Continue reading

Top Posts Today

  • Create a self initiating step function AWS CDK 2.0
  • Add Google Font to Nuxt Js Application
  • Search filter in Vue JS / Nuxt JS
  • Check if the letters in the second string are present in the first string - PHP Problem
  • MySQL - Retrieve data conditionally

Tags

Angular Angular 4 Angular Basics AngularCLI Angular Directive AngularJS AngularJS Framework angularJS Interview question array array_reverse() Associative Array Best Practice CSS Database dom Eclipse Eclipse IDE Eclipse Tricks ECMAscript 2015 Error Errors ES5 ES6 export web-page Git HTML HTML5 IDE interface Interview Questions InterviewQuestions Introduction Java Java collections Java Interview Question Java Programming Javascript javascript basics Javascript Interview Questions List Machine Learning nodejs npm OOPs PDF generator php PHP Interview Questions Programming Python Tutorial

Blog Stats

  • 46,919 hits

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 58 other subscribers

About yoUVcode

yoUVcode.com is a blog for Java and AngularJS developers.

All examples are simple, easy to understand and well tested before publishing.

Authors

yoUVcode.com is created, written and maintained by
Umang Parekh, Vinay Gulati & Saurabh Dwivedi.

 

Archives

Categories

  • Twitter
  • Facebook
  • GitHub
  • WordPress.com