PKPradeep Kumarinpradkum.hashnode.dev·Oct 9, 2023 · 1 min readAre you a Shallow engineer or Deep engineer?A shallow engineer is the one who is happy with job getting done. Working knowledge is his area of expertise. He helps team members and grows within organisation. He doesn't explore anything outside of his comfort zone. Most engineers are shallow eng...00
PKPradeep Kumarinpradkum.hashnode.dev·Aug 19, 2023 · 3 min readCoding Toolkit for C#Array int[] nums = new int[n]; // Define an array int[] nums = { 4, 3, 1, 2 }; nums.Length // Length of the array for(int i = 0; i < nums.Length; i++) { nums[i] } // Iterate Array.Sort(nums) // 1 2 3 4 Array.Reverse(nums) // 4 3 2 1 int[,] numbers ...00
PKPradeep Kumarinpradkum.hashnode.dev·Jan 15, 2023 · 1 min readDSA CheatsheetThis table provides common problem solving techniques specific to a particular data structure. Data structureTechnique Array, StringHash table, Two pointers Binary TreeDFS (recursion): O (n), BFS (level order traversal): O(n) Binary Search T...00
PKPradeep Kumarinpradkum.hashnode.dev·Jan 3, 2023 · 6 min readDSA Coding Cheatsheet for JavaYou can keep it handy while solving problems. It will save you time from looking into syntax and help you to focus more on the aspect of problem-solving and algorithms. Array // Create an array of size n int[] numbers = new int[n]; // Iterating usi...00
PKPradeep Kumarinpradkum.hashnode.dev·Nov 26, 2022 · 2 min readTypescript : ArraysHow do you add an element to an array? const companies: string[] = ["Apple", "Amazon", "Meta", "Google"]; Let's say we want to add "Microsoft" to the above array. We can use the push() method which adds a new item to the end of the array. companies....00