08 2021 档案

摘要:Given an integer n, return the number of ways you can write n as the sum of consecutive positive integers. Example 1: Input: n = 5 Output: 2 Explanati 阅读全文
posted @ 2021-08-31 09:29 苗妙苗 阅读(114) 评论(0) 推荐(0)
摘要:Given an array of strings words (without duplicates), return all the concatenated words in the given list of words. A concatenated word is defined as 阅读全文
posted @ 2021-08-31 09:14 苗妙苗 阅读(33) 评论(0) 推荐(0)
摘要:Design and implement a data structure for a Least Frequently Used (LFU) cache. Implement the LFUCache class: LFUCache(int capacity) Initializes the ob 阅读全文
posted @ 2021-08-31 07:39 苗妙苗 阅读(34) 评论(0) 推荐(0)
摘要:You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smal 阅读全文
posted @ 2021-08-31 02:53 苗妙苗 阅读(39) 评论(0) 推荐(0)
摘要:Given a string s and a dictionary of strings wordDict, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all 阅读全文
posted @ 2021-08-30 09:49 苗妙苗 阅读(41) 评论(0) 推荐(0)
摘要:Design a search autocomplete system for a search engine. Users may input a sentence (at least one word and end with a special character '#'). You are 阅读全文
posted @ 2021-08-30 03:40 苗妙苗 阅读(29) 评论(0) 推荐(0)
摘要:You are starving and you want to eat food as quickly as possible. You want to find the shortest path to arrive at any food cell. You are given an m x 阅读全文
posted @ 2021-08-29 09:41 苗妙苗 阅读(139) 评论(0) 推荐(0)
摘要:Given the postfix tokens of an arithmetic expression, build and return the binary expression tree that represents this expression. Postfix notation is 阅读全文
posted @ 2021-08-29 08:33 苗妙苗 阅读(101) 评论(0) 推荐(0)
摘要:You have a queue of integers, you need to retrieve the first unique integer in the queue. Implement the FirstUnique class: FirstUnique(int[] nums) Ini 阅读全文
posted @ 2021-08-29 07:48 苗妙苗 阅读(69) 评论(0) 推荐(0)
摘要:You have some number of sticks with positive integer lengths. These lengths are given as an array sticks, where sticks[i] is the length of the ith sti 阅读全文
posted @ 2021-08-29 03:33 苗妙苗 阅读(60) 评论(0) 推荐(0)
摘要:You are given two string arrays username and website and an integer array timestamp. All the given arrays are of the same length and the tuple [userna 阅读全文
posted @ 2021-08-29 02:55 苗妙苗 阅读(50) 评论(0) 推荐(0)
摘要:There are n cities labeled from 1 to n. You are given the integer n and an array connections where connections[i] = [xi, yi, costi] indicates that the 阅读全文
posted @ 2021-08-29 01:45 苗妙苗 阅读(82) 评论(0) 推荐(0)
摘要:Given the root of a binary tree, return the maximum average value of a subtree of that tree. Answers within 10-5 of the actual answer will be accepted 阅读全文
posted @ 2021-08-29 00:52 苗妙苗 阅读(112) 评论(0) 推荐(0)
摘要:There is a ball in a maze with empty spaces (represented as 0) and walls (represented as 1). The ball can go through the empty spaces by rolling up, d 阅读全文
posted @ 2021-08-28 09:36 苗妙苗 阅读(39) 评论(0) 推荐(0)
摘要:You have a graph of n nodes. You are given an integer n and an array edges where edges[i] = [ai, bi] indicates that there is an edge between ai and bi 阅读全文
posted @ 2021-08-28 08:46 苗妙苗 阅读(48) 评论(0) 推荐(0)
摘要:1、不用spring boot的选择 name, age, dept list 2、lambda排序List.sort(employee, (a, b) -> ((a.name.compareTo(b.name)) && (a.age.compareTo(b.age)))); class Examp 阅读全文
posted @ 2021-08-28 05:21 苗妙苗 阅读(38) 评论(0) 推荐(0)
摘要:https://drive.google.com/drive/folders/1zQ2BRLQJnoMaMjwbOe8Vt5qNtCJwKraV?usp=sharing 怎么又问出来这么多不会的啊!怒了!我还是图样图森破…… 通过infosys在apple做了九年合同工,看来这两家公司的关系不是一般 阅读全文
posted @ 2021-08-27 01:07 苗妙苗 阅读(28) 评论(0) 推荐(0)
摘要:https://drive.google.com/drive/folders/1o-ZkaRqUd6KtY455-bNGizDuLf5ymAx2?usp=sharing 阅读全文
posted @ 2021-08-26 04:52 苗妙苗 阅读(91) 评论(0) 推荐(0)
摘要:synchronization是啥,我说了一点不同步会怎么样同步到底是啥分布式是啥,举个例子你现在的应用难道是单线程的吗(这我还真不知道。。蒙蔽了。。) 合作的单词:cooperate 修房顶的把我吵无语了。。下次选个安静的环境啊 然后我问你们组的业务,就根本懒得跟我说话的那种。 嚣张又没礼貌的臭烙 阅读全文
posted @ 2021-08-25 04:31 苗妙苗 阅读(36) 评论(0) 推荐(0)
摘要:查找链表的中间节点 用q实现stack noclassdeffound exception是啥,怎么解决 阅读全文
posted @ 2021-08-25 02:20 苗妙苗 阅读(30) 评论(0) 推荐(0)
摘要:微服务之间如何通信 工作中怎么validate用户信息,怎么validate token 具体是怎么发布的:我又回答了jenkins又回答了aws,晕了,到底是啥 hibernate里面的xml,怎么连接到不同的数据库表 springboot员工管理系统:新建、更新(老八股文了) @RequestM 阅读全文
posted @ 2021-08-21 06:53 苗妙苗 阅读(76) 评论(0) 推荐(0)
摘要:spring batch具体怎么读一个大文件substring返回的是不是新stringjava new string, string =的区别 1、群面要小心,一个人说话,另一个人就在检查你有没有作弊,居然看我视线……特别是烙印,他们见过的招数比我多多了,别妄想了。 2、居然看镜子,你厉害,你厉害 阅读全文
posted @ 2021-08-21 05:46 苗妙苗 阅读(19) 评论(0) 推荐(0)
摘要:这一趟面试下来,觉得就像托福考试是你英语巅峰似的。面试造火箭,工作拧螺丝钉。平时工作真是什么也没学,面试才是真枪实弹操练。 so spring的题目怎么学?怎么解决?没有答案是几乎肯定的1.看看有没有类似的project、教程。2.硬写。自己看教程,写个一半,运行也很花时间,有的有hiden cla 阅读全文
posted @ 2021-08-20 09:38 苗妙苗 阅读(42) 评论(0) 推荐(0)
摘要:https://drive.google.com/drive/folders/1cfX3jfbaMEPBBbzn2OKahJ63r2i02KLU?usp=sharing 阅读全文
posted @ 2021-08-20 05:01 苗妙苗 阅读(18) 评论(0) 推荐(0)
摘要:都懒得复习了。。。谁考这么细这么偏门。。 https://drive.google.com/drive/folders/1Yrzs__ZUDPVbz4_kObMRL2LjKj0_U9uv?usp=sharing 阅读全文
posted @ 2021-08-19 08:45 苗妙苗 阅读(24) 评论(0) 推荐(0)
摘要:可以用一个l0来保存,然后构建数组 l0 = l1; for (i++) { l1.next = node; l1 = l1.next; } return l0; 然后比较了一下,说明linkedlist比arraylist更强。。 经验:有时候实在是卡住了就不要逞强了,问问面试官:do you h 阅读全文
posted @ 2021-08-19 03:10 苗妙苗 阅读(33) 评论(0) 推荐(0)
摘要:原来政府的老系统翻新也要程序员,因此催生了相应的vendor。这年代,真是各行各业都需要程序员,涨见识了。 阅读全文
posted @ 2021-08-19 00:36 苗妙苗 阅读(35) 评论(0) 推荐(0)
摘要:find index without indexOf() //foor loop in the collection for (int i = 0; i < s.length(); i++) { for (int j = i + 1; j < s.length() - i; j++) { //get 阅读全文
posted @ 2021-08-18 07:58 苗妙苗 阅读(46) 评论(0) 推荐(0)
摘要:public static int sum(final List<String> l) { return int sum = Stream().map(n -> Integer.valueOf(n)).sum(); } {"2","3","5"} => 10 private static final 阅读全文
posted @ 2021-08-18 01:39 苗妙苗 阅读(172) 评论(0) 推荐(0)
摘要:还考了oop编程,第一次在stackoverflow上贡献答案:https://stackoverflow.com/questions/52614766/user-moderator-and-admin-with-oop-javascript/53084174 @service = @Compone 阅读全文
posted @ 2021-08-15 02:33 苗妙苗 阅读(57) 评论(0) 推荐(0)
摘要:到底是什么模式啊? 尽量不要切换屏幕,真的管得很严因为有摄像,查电脑查手机都尽量在显示屏后面操作傻逼备胎电脑经常抽风,还是做主机吧。不工作就不考试注意大小写:IntStream, 我改了好久。最后1s改好的,人生的巅峰时刻靠谱的chegg coursehero都要准备好,查得很慢的不行 阅读全文
posted @ 2021-08-15 01:25 苗妙苗 阅读(33) 评论(0) 推荐(0)
摘要:hackerrank单独拖出来开一个tab就能查了,不过还是换电脑吧 其实选择题也能查 如果有oa,chegg问问客服! 一些azure云的选择题查不到 hacckerrank spring boot 有没有题啊,根本动不了笔啊。--连接数据库不难,而且和spring boot框架没啥关系。主要是现 阅读全文
posted @ 2021-08-14 08:57 苗妙苗 阅读(110) 评论(0) 推荐(0)
摘要:谁oa不是抄的啊,能做出来不就行了,还真把自己当啥了。深井冰 傻逼白人vendor,自己圆不了场就怪candidate。醉了。偷鸡摸狗不可笑,可笑的是偷鸡摸狗还偷不好。 唉,面试的1001种情况都被我碰上了。即使全都挂了,觉得自己人生经验真丰富呢! 阅读全文
posted @ 2021-08-14 00:06 苗妙苗 阅读(14) 评论(0) 推荐(0)
摘要:催一下又不会怀孕🤰 阅读全文
posted @ 2021-08-13 08:00 苗妙苗 阅读(29) 评论(0) 推荐(0)
摘要:公司虽小,面试可以教我的东西也还是有的 手机、电脑都能用 阅读全文
posted @ 2021-08-13 05:32 苗妙苗 阅读(40) 评论(0) 推荐(0)
摘要:这时候的谦虚是有病吧,说自己不会。当然,也要学一下。 Diaz/AIM Consulting 阅读全文
posted @ 2021-08-12 23:50 苗妙苗 阅读(18) 评论(0) 推荐(0)
摘要:利口2 1、第一次见到hackerrank要自己写driver的,然后就真的自己写,出错了:l1一支递归,到最后就没了。返回的l1就是个尾巴。所以要保持head的关系用一个head,然后append才行其实可以查2、要额外加函数addToTheLast之类的:https://www.geeksfor 阅读全文
posted @ 2021-08-12 07:58 苗妙苗 阅读(53) 评论(0) 推荐(0)
摘要:初始化一个不可变的类,是如何初始化的(在啥都final 不能改的情况下),这么刁钻的问题吗。 screening和知识点面试经验:你要说得比他多,提前查好就能说很多要点。临时去查就会磕磕巴巴,因为不懂,也没有要点。 阅读全文
posted @ 2021-08-12 03:13 苗妙苗 阅读(17) 评论(0) 推荐(0)
摘要:根本就不给喘气儿的机会,从此再也不用害怕别的面试了。 然后害我丢掉了沃尔玛的面试emmm,要如何才能符合这么push的screener? 阅读全文
posted @ 2021-08-11 08:06 苗妙苗 阅读(26) 评论(0) 推荐(0)
摘要:https://drive.google.com/drive/folders/1-zT9elLaC_uUEMLMXts5vXW0mw3nyjMs?usp=sharing 阅读全文
posted @ 2021-08-11 06:52 苗妙苗 阅读(33) 评论(0) 推荐(0)
摘要:截图: https://drive.google.com/drive/folders/1jRg_0B7VqTpOgKK6-P2QudsE2dUEhgbx?usp=sharing 都是选择题,傻到查答案都不会 阅读全文
posted @ 2021-08-11 02:54 苗妙苗 阅读(42) 评论(0) 推荐(0)
摘要:What is a predicate in spring boot?actuator spring boot是什么用Kafka做什么 阅读全文
posted @ 2021-08-11 02:02 苗妙苗 阅读(21) 评论(0) 推荐(0)
摘要:// // Session Details: // // Overall Duration of Session: 50 Minutes // // problem solving// // core java// // spring and rest services // // You are 阅读全文
posted @ 2021-08-11 01:25 苗妙苗 阅读(34) 评论(0) 推荐(0)
摘要:lru cache的调用, public static List<Integer> solve(int capacity,List<String> ar){ } 内部类直接粘贴到class里面,调用方法在外面。lru cach直接贴过去。耗时太久了//更正:其实应该是main和lru的class分开 阅读全文
posted @ 2021-08-10 08:19 苗妙苗 阅读(45) 评论(0) 推荐(0)
摘要:介绍商店teamREST的好处,是否可扩展(可以,因为无状态)sql nosql的区别,nosql为啥不能join:我没说全 341. Flatten Nested List Iterator//又tm抄一半发现自己错了,我擦!简单的loop就行了!起码把人家的问题听清楚吧……不要着急看目录,反正目 阅读全文
posted @ 2021-08-10 02:48 苗妙苗 阅读(37) 评论(0) 推荐(0)
摘要:题目: /** * The Problem: * * We have a list of tasks. Each task can depend on other tasks. * For example if task A depends on task B then B should run b 阅读全文
posted @ 2021-08-08 01:05 苗妙苗 阅读(40) 评论(0) 推荐(0)
摘要:淘宝cheg一块钱读题好用。太久没做oa了都🐏手生了,不要试图自己做啊,提前搜答案贴上去不香么! 说真的,online assessment的题目没有最恶心,只有更恶心,往往都是拿来筛选新生。新生捡到一个online assessment,还感恩戴德呢。深有体会。 这种题目不能提高自己的算法解题能 阅读全文
posted @ 2021-08-07 08:14 苗妙苗 阅读(29) 评论(0) 推荐(0)