Wednesday, January 30, 2013

tekrarlı harfleri sıkıştırma sorusu

soru
"aaaaaaabbbbbbbcccccddddaaaa" gibi bi string gelince "a7b7c5d4a4" şeklinde çıktı üretecek kodu yazınız.

cevap

Friday, January 11, 2013

sonar solaris start problem

first I got

--- Backtrace Gem::LoadError: Could not find rails (= 2.3.14) amongst []


in the log then I start looking here is the solution
  1. open SONAR_HOME/conf/wrapper.conf
  2. add wrapper.java.additional.3=-Djruby.native.enabled=false
thats it just restart sonar it will start properly :)

odd string diff

 https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java   class Solution { public String oddString ( S...