Are 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...Oct 9, 2023 · 1 min readpradkum.hashnode.dev
Coding 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 ...Aug 19, 2023 · 3 min readpradkum.hashnode.dev
DSA 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...Jan 15, 2023 · 1 min readpradkum.hashnode.dev
DSA 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...Jan 3, 2023 · 6 min readpradkum.hashnode.dev
Typescript : 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....Nov 26, 2022 · 2 min readpradkum.hashnode.dev