發表文章

目前顯示的是 2月, 2021的文章

轉職問題:

  轉職問題: 面試 考績差 原因 人生Scope, 成長, 自我優點 考HackerRank 學說話.放開點

面試被問到離職原因,該怎麼說?

  離職是最好的自我檢討時機 不當的離職後,如果沒有改善,很難再找得到工作,即使運氣好找到工作,也做不了多久還是會因同樣的原因而再離職。其實辛苦不是問題,學不到才是問題;主管不是問題,沒成長才是問題;薪水不是問題,沒有挑戰才是問題。 若每次離職後都能提升自己的工作能力,改變自己的工作態度,從每次的離職中體會出心得,並加以改善,使自己成長,這才是最重要的事情,否則不管再怎麼修飾離職原因,用再多的技巧來表達,也很難讓面試主管信服,就只好一直在為離職原因傷腦筋了。 https://www.yes123.com.tw/aboutwork_2020/article.asp?w_id=6824

求職、轉職面試必看!

  求職、轉職面試必看!考官問:有什麼問題想問?從這 3 方向提問就對了 https://www.managertoday.com.tw/columns/view/59158

考績被打差了 輕率離職會更傷

  最後是看工作態度與敬業精神,小羊認真負責,但是很少到主管面前走動,主管常常很疑惑他究竟在忙些什麼;而胡大不同,他會主動向主管報備,並提出問題請示主管,在主管心裡留下主動積極的觀感。 考績是一面鏡子,照見的不是你看到的自己,而是主管看到的自己,而主管就是按照以上四個因素在評估你的績效,新的一年就抓緊這四大項辦了吧! https://www.yes123.com.tw/aboutwork_2020/article.asp?w_id=7082

Greedy Algorithom - Minimum Absolute Difference in an Array [Easy]

 找出 最小絕對值差 Sample Input 1 10 -59 -36 -13 1 -53 -92 -2 -96 -54 75 Sample Output 1 1 Explanation 1 The smallest absolute difference is  .   static   int  minimumAbsoluteDifference( int [] arr) {         Arrays.sort(arr);        int  min = Integer.MAX_VALUE;      for ( int  i =  0 ; i < arr.length - 1 ;i++){         min = Math.min(min,Math.abs(arr[i+ 1 ] -arr[i]));     }     return  min;     } java int 的最大值 Integer.MAX_VALUE java int 類整數的最大值是 2 的 31 次方 - 1 = 2147483648 - 1 = 2147483647 可以用 Integer.MAX_VALUE 表示它 https://www.itread01.com/content/1546761970.html java.lang.Math.min(int a, int b) 返回兩個int值較小值。即,其結果是該值越接近負無窮大。 http://tw.gitbook.net/java/lang/math_min_int.html java.lang.Math.abs(int a) 返...

String Manipulation - Sherlock and the Valid String [M]

Sherlock considers a string to be  valid  if all characters of the string appear the same number of times. It is also  valid  if he can remove just   character at   index in the string, and the remaining characters will occur the same number of times. Given a string  , determine if it is  valid . If so, return  YES , otherwise return  NO .   Example This is a valid string because frequencies are  . This is a valid string because we can remove one   and have   of each character in the remaining string. This string is not  valid  as we can only remove   occurrence of  . That leaves character frequencies of  . Sample Input 0 aabbcd Sample Output 0 NO Explanation 0 Given  , we would need to remove two characters, both  c  and  d     aabb  or  a  and  b     abcd , to make it valid. We are limited to removing o...

Arrays - DS (Reverse array) [Easy]

  Example Return  . Sample Input 1 Copy Download Array: arr 1 4 3 2 4 1 4 3 2 Sample Output 1 2 3 4 1      static   int [] reverseArray( int [] a) {          int [] b= new   int [a.length];          int  j=a.length;        for  ( int  i= 0 ;i<a.length;i++){          b[j- 1 ]=a[i];          j=j- 1 ;       }        return  b;     }

String Manipulation - Alternating Characters [Easy]

交替字符   hashank非常喜欢字符串,特别是那些连续字符都是不一样的字符串。比如:他喜欢 ,但他不喜欢 。给定一个字符串,该字符串只可能由字母 和 组成。Shashank想把这个字符串转变成他喜欢的字符串,在转变的过程中,他允许删除字符串中的某些字符。 你的任务就是找出最少需要删除几个字符,才能把给定的字符串转变成Shashank喜欢的字符串。 样例输入: 5 AAAA BBBBB ABABABAB BABABA AAABBB 样例输出: 3 4 0 0 4 样例解释: , 需要删除3个字符 , 需要删除4个字符 , 需要删除0个字符 , 需要删除0个字符 , 需要删除4个字符 static   int  alternatingCharacters(String s) {       int  deletions =  0 ;              int  currentCount =  1 ;              for ( int  i =  1 ; i < s.length(); i++)             {                  if (s.charAt(i) != s.charAt(i- 1 ))              ...